Class: LimdeskApi::Contactperson
- Inherits:
-
LimdeskObject
- Object
- RecursiveOpenStruct
- LimdeskObject
- LimdeskApi::Contactperson
- Defined in:
- lib/limdesk_api/contactperson.rb
Overview
ContactPerson
Constant Summary collapse
- NOT_IMPLEMENTED =
'contactperson currently does not support this call'
Class Method Summary collapse
-
.create(params) ⇒ LimdeskApi::Contactperson
Creates a new contact person.
Instance Method Summary collapse
- #all ⇒ Object
-
#update(params) ⇒ LimdeskApi::Contactperson
updates a contact person.
Methods inherited from LimdeskObject
all, #delete!, get, object_symbol, #object_symbol, #refresh!
Class Method Details
.create(params) ⇒ LimdeskApi::Contactperson
Creates a new contact person
14 15 16 |
# File 'lib/limdesk_api/contactperson.rb', line 14 def self.create(params) super end |
Instance Method Details
#all ⇒ Object
29 30 31 |
# File 'lib/limdesk_api/contactperson.rb', line 29 def all fail Activity::NOT_IMPLEMENTED end |
#update(params) ⇒ LimdeskApi::Contactperson
updates a contact person
23 24 25 26 27 |
# File 'lib/limdesk_api/contactperson.rb', line 23 def update(params) LimdeskApi.put object: object_symbol, params: params, id: id end |