GroupDocs.Metadata Cloud Ruby SDK
Ruby gem for communicating with the GroupDocs.Metadata Cloud API. This SDK allows you to work with GroupDocs.Metadata Cloud REST APIs in your Ruby applications.
Requirements
Ruby 2.4+
Installation
Install groupdocs_metadata_cloud from RubyGems:
gem install groupdocs_metadata_cloudOr add the dependency to your Gemfile and run bundle install:
gem "groupdocs_metadata_cloud", "~> 26.1"Getting Started
Please follow the installation procedure and then run the following code:
# Import modules
require "./Common.rb"
# This example demonstrates how to extract formatted text from document.
class ExtractFormattedText
def self.Run()
parseApi = GroupDocsMetadataCloud::ParseApi.from_config($config)
options = GroupDocsMetadataCloud::TextOptions.new
options.file_info = GroupDocsMetadataCloud::FileInfo.new
options.file_info.file_path = "words-processing/docx/formatted-document.docx"
text_options = GroupDocsMetadataCloud::FormattedTextOptions.new
text_options.mode = "Markdown"
options.formatted_text_options = text_options
request = GroupDocsMetadataCloud::TextRequest.new(options)
response = parseApi.text(request)
puts("Text:" + response.text)
end
endLicensing
GroupDocs.Metadata Cloud Ruby SDK licensed under MIT License.
Resources
Contact Us
Your feedback is very important to us. Please feel free to contact us