Skip to content

ruby sdk that works with Tangocard API V2.3.4. It is a fork/extraction of the Tangocard raas-v2-sdk-ruby gem.

License

Notifications You must be signed in to change notification settings

BrilliantTechnology/raas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raas

This API SDK was automatically generated by APIMATIC Code Generator.

How to configure:

The generated code might need to be configured with your API credentials. To do that, open the file "configuration.rb" and edit it's contents.

Alternatively, you can modify the Configuration parameters at run-time through the following:

Raas::Configuration.your_paramater = YOUR_VALUE

How to build and install:

The generated code depends on a few Ruby gems. The references to these gems are added in the gemspec file. The easiest way to resolve the dependencies, build the gem and install it is through Rake:

  1. Install Rake if not already installed: gem install rake
  2. Install Bundler if not already installed: gem install bundler
  3. From terminal/cmd navigate to the root directory of the SDK.
  4. Invoke: rake install

Alternatively, you can build and install the gem manually:

  1. From terminal/cmd navigate to the root directory of the SDK.
  2. Run the build command: gem build raas.gemspec
  3. Run the install command: gem install ./raas-2.3.4.gem

Note: You will need to have internet access for this step.

How to test:

You can test the generated SDK and the server with automatically generated test cases as follows:

  1. From terminal/cmd navigate to the root directory of the SDK.
  2. Invoke: bundle exec rake

How to use:

After having installed the gem, you can easily use the SDK following these steps.

  1. Create a "raas_test.rb" file in the root directory.
  2. Use any controller as follows:
require 'raas'

api_client = Raas::RaasClient.new
controller = api_client.status_controller
response = controller.get_system_status(<required parameters if any>)
p response

About

ruby sdk that works with Tangocard API V2.3.4. It is a fork/extraction of the Tangocard raas-v2-sdk-ruby gem.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages