Class: InContact::Api
- Inherits:
-
Object
- Object
- InContact::Api
- Defined in:
- lib/incontact/api.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
- #agent_sessions ⇒ Object
- #agents ⇒ Object
- #call_lists ⇒ Object
- #contacts ⇒ Object
-
#initialize ⇒ Api
constructor
A new instance of Api.
Constructor Details
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
3 4 5 |
# File 'lib/incontact/api.rb', line 3 def token @token end |
Instance Method Details
#agent_sessions ⇒ Object
17 18 19 |
# File 'lib/incontact/api.rb', line 17 def agent_sessions @agent_sessions ||= create_resource(InContact::Resources::AGENT_SESSIONS) end |
#agents ⇒ Object
9 10 11 |
# File 'lib/incontact/api.rb', line 9 def agents @agents ||= create_resource(InContact::Resources::AGENTS) end |
#call_lists ⇒ Object
21 22 23 |
# File 'lib/incontact/api.rb', line 21 def call_lists @call_lists ||= create_resource(InContact::Resources::CALL_LISTS) end |