Class: Paytureman::Settings
- Inherits:
-
Object
- Object
- Paytureman::Settings
- Defined in:
- lib/service/configuration.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#key ⇒ Object
Returns the value of attribute key.
-
#password ⇒ Object
Returns the value of attribute password.
Instance Method Summary collapse
-
#initialize ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize ⇒ Settings
Returns a new instance of Settings.
43 44 45 46 47 |
# File 'lib/service/configuration.rb', line 43 def initialize @host = 'sandbox' @key = 'MerchantRutravel' @password = '123' end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
41 42 43 |
# File 'lib/service/configuration.rb', line 41 def host @host end |
#key ⇒ Object
Returns the value of attribute key.
41 42 43 |
# File 'lib/service/configuration.rb', line 41 def key @key end |
#password ⇒ Object
Returns the value of attribute password.
41 42 43 |
# File 'lib/service/configuration.rb', line 41 def password @password end |