Sha256: 6798b1b8bbc86f9ce681204e33382cdaab233a7f768376e25f20d806ce890fcf

Contents?: true

Size: 333 Bytes

Versions: 5

Compression:

Stored size: 333 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.4.1 lib/gateway/SalesOption.rb
stone_ecommerce-1.4.0 lib/gateway/SalesOption.rb
mundipagg_sdk-1.4.0 lib/gateway/SalesOption.rb
stone_ecommerce-1.3.0 lib/gateway/SalesOption.rb
stone_ecommerce-1.2.3 lib/gateway/SalesOption.rb