Class: Desk::Api::Articles
- Inherits:
-
Object
- Object
- Desk::Api::Articles
- Includes:
- Creatable, Deletable, Listable, Searchable
- Defined in:
- lib/desk/api/articles.rb
Constant Summary collapse
- VALID_SEARCH_PARAMS =
[:text, :topic_ids]
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) ⇒ Articles
constructor
A new instance of Articles.
Methods included from Deletable
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.
19 20 21 |
# File 'lib/desk/api/articles.rb', line 19 def connection @connection end |
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
19 20 21 |
# File 'lib/desk/api/articles.rb', line 19 def endpoint @endpoint end |
#return_class ⇒ Object (readonly)
Returns the value of attribute return_class.
19 20 21 |
# File 'lib/desk/api/articles.rb', line 19 def return_class @return_class end |