lib/gateway/SalesOption.rb in stone_ecommerce-1.0.3 vs lib/gateway/SalesOption.rb in stone_ecommerce-1.2.3
- old
+ new
@@ -1,17 +1,19 @@
-class SalesOption
+module Gateway
- attr_accessor :IsAntiFraudEnabled
+ class SalesOption
- attr_accessor :AntiFraudServiceCode
+ attr_accessor :IsAntiFraudEnabled
- attr_accessor :Retries
+ attr_accessor :AntiFraudServiceCode
- attr_accessor :CurrencyIso
+ attr_accessor :Retries
- def to_json
- hash = {}
- instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
- hash
- end
+ attr_accessor :CurrencyIso
-end
+ def to_json
+ hash = {}
+ instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
+ hash
+ end
+ end
+end
\ No newline at end of file