Module: Ramco::API::OptionSet

Included in:
Ramco
Defined in:
lib/ramco/api/option_set.rb

Instance Method Summary collapse

Instance Method Details

#get_option_set(params = {}) ⇒ Object

GetOptionSet Fetch the valid value/label pairs for the specified OptionSet (what Ramco calls a picklist)

Entity = Name of entity being queried (ex: Contact) Attribute = Name of the attribute being queried (ex: PreferredPhone)

=> “Contact”, “attribute” => “PreferredPhone”

Returns json



15
16
17
18
# File 'lib/ramco/api/option_set.rb', line 15

def get_option_set(params={})
  params['operation'] = "GetOptionSet"
  request(connection, params)
end