Class: DpdApi::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/dpd_api/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



20
21
22
23
24
# File 'lib/dpd_api/configuration.rb', line 20

def initialize
  @client_key    = '123'
  @client_number = '234'
  @base_url      = 'http://wstest.dpd.ru'
end

Instance Attribute Details

#auth_paramsObject (readonly)

Returns the value of attribute auth_params.



18
19
20
# File 'lib/dpd_api/configuration.rb', line 18

def auth_params
  @auth_params
end

#base_urlObject

Returns the value of attribute base_url.



14
15
16
# File 'lib/dpd_api/configuration.rb', line 14

def base_url
  @base_url
end

#client_keyObject

Returns the value of attribute client_key.



14
15
16
# File 'lib/dpd_api/configuration.rb', line 14

def client_key
  @client_key
end

#client_numberObject

Returns the value of attribute client_number.



14
15
16
# File 'lib/dpd_api/configuration.rb', line 14

def client_number
  @client_number
end