Class: Caren::Employee
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
12 13 14 |
# File 'lib/caren/employee.rb', line 12 def self.array_root :employees end |
.keys ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/caren/employee.rb', line 3 def self.keys [ :external_id, # String (Your client id) :first_name, # String :last_name, # String :bio, # Text :photo # String ] end |
.node_root ⇒ Object
16 17 18 |
# File 'lib/caren/employee.rb', line 16 def self.node_root :employee end |