Class: Desk::Api::Cases
- Inherits:
-
Object
- Object
- Desk::Api::Cases
- Includes:
- Creatable, Listable, Searchable
- Defined in:
- lib/desk/api/cases.rb
Constant Summary collapse
- VALID_SEARCH_PARAMS =
[:name, :first_name, :last_name, :email, :phone, :company, :twitter, :labels, :case_id, :subject, :description, :status, :priority, :assigned_group, :assigned_user, :channels, :notes, :attachments, :case_custom_key, :created, :updated, :since_created_at, :max_created_at, :since_updated_at, :max_updated_at, :since_id, :max_id, :q]
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
-
#return_class ⇒ Object
readonly
Returns the value of attribute return_class.
Instance Method Summary collapse
-
#initialize(connection) ⇒ Cases
constructor
A new instance of Cases.
- #message(id) ⇒ Object
- #replies(id) ⇒ Object
Methods included from Searchable
Methods included from Creatable
Methods included from Listable
Constructor Details
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
24 25 26 |
# File 'lib/desk/api/cases.rb', line 24 def connection @connection end |
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
24 25 26 |
# File 'lib/desk/api/cases.rb', line 24 def endpoint @endpoint end |
#return_class ⇒ Object (readonly)
Returns the value of attribute return_class.
24 25 26 |
# File 'lib/desk/api/cases.rb', line 24 def return_class @return_class end |