Skip to content
Nathanael Burchill edited this page Oct 18, 2016 · 2 revisions

Rise Ruby SDK Introduction

All methods in the SDK will return a hash. The hash will always include "success" and "error" keys.

  • "success" : True or False dependent on success.
  • "error" : Provided when response is unsuccessful.

Each SDK entry contains an example call to help provide understanding of how to use the call. The examples also include <field>; use this for easy identification of what needs to be changed for the call to function.

Basics

Whenever you use the SDK you will need to import it into whatever code you are working on. After which you will need to set the host. Below is an example of importing the risesdk for use and setting the host to localhost on port 4444.

require 'risesdk'
risesdk = RiseSDK.new()
risesdk.setHost("http://localhost:4444")
Clone this wiki locally