lib/opay/configuration.rb in opay-1.0.0.beta vs lib/opay/configuration.rb in opay-1.0.0
- old
+ new
@@ -11,10 +11,12 @@
config_accessor :pos_id
config_accessor :pos_auth_key
config_accessor :key1
config_accessor :key2
+ config_accessor :test_mode
+
reset_config
end
module ClassMethods
@@ -30,9 +32,11 @@
# payu configuration
config.pos_id = 999
config.pos_auth_key = 'pos_auth_key'
config.key1 = 'key1'
config.key2 = 'key2'
+
+ config.test_mode = false
end
end
end