Class: STSPlatform::Orgs
- Inherits:
-
RequestHandler
- Object
- RequestHandler
- STSPlatform::Orgs
- Defined in:
- lib/stsplatform/orgs.rb
Overview
The Orgs resource of the STS Platform API Params:
handler-
a client object
id-
(optional) the numerical or string id of the organization
Returns:
STSPlatformResponse-
object containing “data” and “code” parameters
Inherits from RequestHandler, with access to the get, post, put and delete methods.
Instance Attribute Summary
Attributes inherited from RequestHandler
#_successor, #auth, #resource, #url
Instance Method Summary collapse
-
#initialize(handler, id = "") ⇒ Orgs
constructor
A new instance of Orgs.
Methods inherited from RequestHandler
#delete, #get, #post, #put, #set_config, #set_handler
Constructor Details
#initialize(handler, id = "") ⇒ Orgs
Returns a new instance of Orgs.
13 14 15 |
# File 'lib/stsplatform/orgs.rb', line 13 def initialize(handler, id="") super(handler,id) end |