Class: Cloudpayments::Configuration
- Inherits:
-
Object
- Object
- Cloudpayments::Configuration
- Defined in:
- lib/cloudpayments/configuration.rb
Constant Summary collapse
- BASE_URL =
"https://api.cloudpayments.ru".freeze
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#login ⇒ Object
Returns the value of attribute login.
-
#password ⇒ Object
Returns the value of attribute password.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/cloudpayments/configuration.rb', line 7 def initialize @base_url = BASE_URL end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
3 4 5 |
# File 'lib/cloudpayments/configuration.rb', line 3 def base_url @base_url end |
#login ⇒ Object
Returns the value of attribute login.
3 4 5 |
# File 'lib/cloudpayments/configuration.rb', line 3 def login @login end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/cloudpayments/configuration.rb', line 3 def password @password end |