Class: Portal1C::Client

Inherits:
Object
  • Object
show all
Includes:
Rest
Defined in:
lib/portal_1c/client.rb

Constant Summary

Constants included from Connection

Portal1C::Connection::BASE_URL

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#get, #post

Methods included from Connection

#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(, password)
  @login = 
  @password = password
end

Instance Attribute Details

#loginObject (readonly)

Returns the value of attribute login.



7
8
9
# File 'lib/portal_1c/client.rb', line 7

def 
  @login
end

#passwordObject (readonly)

Returns the value of attribute password.



7
8
9
# File 'lib/portal_1c/client.rb', line 7

def password
  @password
end