Class: Connect::WebService::Client
- Inherits:
-
Object
- Object
- Connect::WebService::Client
- Includes:
- Connection, Rest
- Defined in:
- lib/connect/web_service/client.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
-
#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 Rest
#add_param, #client_user_read, #department_add, #department_delete, #department_edit, #department_read, #region_read, #specialist_add, #specialist_read
Methods included from Connect::WebService::ConnectParameters::ParamsFactory
#create_changed_from, #create_date, #create_date_time, #create_parameter, #create_string
Methods included from Request
Methods included from Connection
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
11 12 13 14 15 |
# File 'lib/connect/web_service/client.rb', line 11 def initialize() @login = [:login] @password = [:password] @connection = create_connection(self) end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
9 10 11 |
# File 'lib/connect/web_service/client.rb', line 9 def connection @connection end |
#login ⇒ Object (readonly)
Returns the value of attribute login.
9 10 11 |
# File 'lib/connect/web_service/client.rb', line 9 def login @login end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
9 10 11 |
# File 'lib/connect/web_service/client.rb', line 9 def password @password end |