Class: Caren::Client
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#as_xml, from_xml, hash_from_image, init_dependent_objects, #initialize, #node_root, resource_location, resource_url, #resource_url, search_url, #to_xml, to_xml
Constructor Details
This class inherits a constructor from Caren::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Caren::Base
Class Method Details
.array_root ⇒ Object
17 18 19 |
# File 'lib/caren/client.rb', line 17 def self.array_root :clients end |
.keys ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/caren/client.rb', line 3 def self.keys [ :external_id, # String (Your client id) :uid, # String (Customer unique code) :first_name, # String :last_name, # String :male, # Boolean :date_of_birth, # Date :address_street, # String :address_zipcode, # String :address_city, # String :address_country # String ] + super end |
.node_root ⇒ Object
21 22 23 |
# File 'lib/caren/client.rb', line 21 def self.node_root :client end |