Class: Connect::HTTPService::Client
- Inherits:
-
Object
- Object
- Connect::HTTPService::Client
- Includes:
- Rest
- Defined in:
- lib/connect/http_service/client.rb
Constant Summary
Constants included from Connection
Connect::HTTPService::Connection::BASE_URL
Instance Attribute Summary collapse
-
#login ⇒ Object
readonly
Returns the value of attribute login.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from BotApi
#appoint_spec, #appoint_start, #drop_keyboard, #drop_treatment, #send_message_colleague, #send_message_conference, #send_message_line
Methods included from Request
Methods included from Connection
Methods included from InformationApi
#get_competences, #get_lines, #get_specialist, #get_specialists, #get_specialists_available, #get_subscriber, #get_subscribers, #get_subscriptions, #get_ticket, #get_ticket_by_number, #get_treatments
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
8 9 10 11 |
# File 'lib/connect/http_service/client.rb', line 8 def initialize() @login = [:login] @password = [:password] end |
Instance Attribute Details
#login ⇒ Object (readonly)
Returns the value of attribute login.
6 7 8 |
# File 'lib/connect/http_service/client.rb', line 6 def login @login end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
6 7 8 |
# File 'lib/connect/http_service/client.rb', line 6 def password @password end |