Sha256: e6d596ab5efb54c3f524e0273d83c706c4b4f7352f52eb9f079ae2f32def0342

Contents?: true

Size: 351 Bytes

Versions: 5

Compression:

Stored size: 351 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mundipagg_sdk-1.3.0 lib/gateway/SalesOption.rb
stone_ecommerce-1.2.4 lib/gateway/SalesOption.rb
mundipagg_sdk-1.2.4 lib/gateway/SalesOption.rb
mundipagg_sdk-1.2.3 lib/gateway/SalesOption.rb
mundipagg_sdk-1.2.3rc lib/gateway/SalesOption.rb