Class: Cloudpayments::Configuration

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

Constant Summary collapse

BASE_URL =
"https://api.cloudpayments.ru".freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_urlObject

Returns the value of attribute base_url.



3
4
5
# File 'lib/cloudpayments/configuration.rb', line 3

def base_url
  @base_url
end

#loginObject

Returns the value of attribute login.



3
4
5
# File 'lib/cloudpayments/configuration.rb', line 3

def 
  @login
end

#passwordObject

Returns the value of attribute password.



3
4
5
# File 'lib/cloudpayments/configuration.rb', line 3

def password
  @password
end