Sha256: 79f75bac52e9151a0bbe664e7e957b583bc2fd739bf044d7e43f6b5220776edf

Contents?: true

Size: 292 Bytes

Versions: 4

Compression:

Stored size: 292 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
stone_ecommerce-1.0.3 lib/gateway/SalesOption.rb
mundipagg_sdk-1.0.3 lib/gateway/SalesOption.rb
stone_ecommerce-1.0.2 lib/gateway/SalesOption.rb
stone_ecommerce-1.0.0 lib/gateway/SalesOption.rb