Introduction to Ruby

A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. Since its public release in 1995, Ruby has drawn devoted coders worldwide. In 2006, Ruby achieved mass acceptance. With active user groups formed in the world’s major cities and Ruby-related conferences filled to capacity.

Aspose.Barcode Cloud

Barcode image generation

Generate Barcode with REST API

Aspose.BarCode Cloud Product Family contains platform independent document manipulation APIs that are true REST APIs and can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud.

Aspose.BarCode for Cloud allows developers to quickly and easily add barcode generation and recognition functionality to their applications. Please visit the following link to learn more about Product Features.

New Barcode Features in the Aspose Cloud SDK for Ruby

We have implemented the following functions in the Aspose Cloud Ruby SDK:

Download

You can download the latest version of the Python SDK from:

Usage Examples

Read Barcode from External Image URL

# Require asposecloudsdk
require File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/asposecloud'

app_sid = 'XXXXXXXXXX'
app_key = 'XXXXXXXXXX'

Aspose::Cloud::Common::AsposeApp.app_key = app_key
Aspose::Cloud::Common::AsposeApp.app_sid = app_sid
Aspose::Cloud::Common::Product.set_base_product_uri('https://api.aspose.com/v1.1')

# Create object of barcode reader class
reader = Aspose::Cloud::Barcode::Reader.new('barcode.jpg')

# Read a barcode image from url
url = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Code_3_of_9.svg/262px-Code_3_of_9.svg.png'
result = reader.read_from_url(url, 'Code39Standard')
puts result 

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.