Class: DpdApi::Configuration
- Inherits:
-
Object
- Object
- DpdApi::Configuration
- Defined in:
- lib/dpd_api/configuration.rb
Instance Attribute Summary collapse
-
#auth_params ⇒ Object
readonly
Returns the value of attribute auth_params.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#client_key ⇒ Object
Returns the value of attribute client_key.
-
#client_number ⇒ Object
Returns the value of attribute client_number.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_params ⇒ Object (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_url ⇒ Object
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_key ⇒ Object
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_number ⇒ Object
Returns the value of attribute client_number.
14 15 16 |
# File 'lib/dpd_api/configuration.rb', line 14 def client_number @client_number end |