Class: Desk::Api::Customers
- Inherits:
-
Object
- Object
- Desk::Api::Customers
- Includes:
- Creatable, Listable, Searchable
- Defined in:
- lib/desk/api/customers.rb
Constant Summary collapse
- VALID_SEARCH_PARAMS =
[:first_name, :last_name, :full_name, :email, :since_created_at, :max_created_at, :external_id, :since_updated_at, :max_updated_at, :since_id, :max_id, :twitter, :phone, :custom_N]
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) ⇒ Customers
constructor
A new instance of Customers.
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.
18 19 20 |
# File 'lib/desk/api/customers.rb', line 18 def connection @connection end |
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
18 19 20 |
# File 'lib/desk/api/customers.rb', line 18 def endpoint @endpoint end |
#return_class ⇒ Object (readonly)
Returns the value of attribute return_class.
18 19 20 |
# File 'lib/desk/api/customers.rb', line 18 def return_class @return_class end |