Class: Paytureman::Settings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSettings

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

#hostObject

Returns the value of attribute host.



41
42
43
# File 'lib/service/configuration.rb', line 41

def host
  @host
end

#keyObject

Returns the value of attribute key.



41
42
43
# File 'lib/service/configuration.rb', line 41

def key
  @key
end

#passwordObject

Returns the value of attribute password.



41
42
43
# File 'lib/service/configuration.rb', line 41

def password
  @password
end