lib/gateway/SalesOption.rb in mundipagg_sdk-1.3.0 vs lib/gateway/SalesOption.rb in mundipagg_sdk-1.4.0

- old
+ new

@@ -1,19 +1,19 @@ -module Gateway - - class SalesOption - - attr_accessor :IsAntiFraudEnabled - - attr_accessor :AntiFraudServiceCode - - attr_accessor :Retries - - attr_accessor :CurrencyIso - - def to_json - hash = {} - instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) } - hash - end - end +module Gateway + + class SalesOption + + attr_accessor :IsAntiFraudEnabled + + attr_accessor :AntiFraudServiceCode + + attr_accessor :Retries + + attr_accessor :CurrencyIso + + 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