Class: Portal1C::Client
- Inherits:
-
Object
- Object
- Portal1C::Client
- Includes:
- Rest
- Defined in:
- lib/portal_1c/client.rb
Constant Summary
Constants included from Connection
Portal1C::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(login, password) ⇒ Client
constructor
A new instance of Client.
Methods included from Rest
#billing_report, #check_industry_by_login, #check_industry_by_reg_num, #check_industry_by_subscriber_code, #check_its_by_login, #check_its_by_reg_num, #check_its_by_subscriber_code, #client_program_access_by_login, #client_program_access_by_reg_number, #get_billing_report, #get_nomencluture_by_reg_numbers, #program_versions, #programs, #subscriber
Methods included from Request
Methods included from Connection
Constructor Details
#initialize(login, password) ⇒ Client
Returns a new instance of Client.
9 10 11 12 |
# File 'lib/portal_1c/client.rb', line 9 def initialize(login, password) @login = login @password = password end |
Instance Attribute Details
#login ⇒ Object (readonly)
Returns the value of attribute login.
7 8 9 |
# File 'lib/portal_1c/client.rb', line 7 def login @login end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
7 8 9 |
# File 'lib/portal_1c/client.rb', line 7 def password @password end |