Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

fastly/ruby_sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Aria Systems Ruby SDK

The Aria Systems Ruby SDK supports the Aria Systems SOAP and REST APIs. It is a simple way to integrate your Ruby application with Aria Systems billing solutions.

##Installation

gem install aria_sdk

##Examples

###REST API

The SDK has three classes for the Aria Systems APIs: AriaCoreRestClient, AriaAdmintoolsRestClient, and AriaObjectQueryRestClient. To use one, instantiate it with a client no and auth key, then use the call method with the method name and parameters.

api = AriaCoreRestClient.new(CLIENT_NO, AUTH_KEY)

puts api.call('get_client_currencies')
api = AriaCoreRestClient.new(CLIENT_NO, AUTH_KEY)

puts api.call('get_plans_by_promo_code', { :promo_code => '63EUEBRFPNRUC5W2NC6RFACTMB5NV' })

###SOAP API

You can use the AriaCoreSoapClient class to access Aria Systems Core SOAP API similar to the REST APIs, but you must pass a version number as well.

api = AriaCoreSoapClient.new(CLIENT_NO, AUTH_KEY, '6.19')

response = api.call('get_client_countries')

##More Information

Check out Aria Developer Central for more examples, details, and support on Aria services and features.

About

Aria Systems SDK for REST and SOAP APIs.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%