Class: STSPlatform::Fields

Inherits:
RequestHandler show all
Defined in:
lib/stsplatform/fields.rb

Overview

The Fields resource of the STS Platform API Params:

handler

a client object

id

(optional) the numerical or string id of the field

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

Methods inherited from RequestHandler

#delete, #get, #post, #put, #set_config, #set_handler

Constructor Details

#initialize(handler, id = "") ⇒ Fields

Returns a new instance of Fields.



13
14
15
# File 'lib/stsplatform/fields.rb', line 13

def initialize(handler, id="")
  super(handler,id)
end