Class: Kounta::Person
- Defined in:
- lib/kounta/person.rb
Instance Method Summary collapse
Methods inherited from Resource
#client, coerce, has_many, has_one, #ignored_properties, #initialize, #new?, #save!, #to_hash
Constructor Details
This class inherits a constructor from Kounta::Resource
Instance Method Details
#name ⇒ Object
17 18 19 |
# File 'lib/kounta/person.rb', line 17 def name "#{first_name} #{last_name}" end |
#resource_path ⇒ Object
21 22 23 |
# File 'lib/kounta/person.rb', line 21 def resource_path {companies: company_id, people: id} end |