Sha256: ada80c05bee5f120d4c0f908ad942b02a28424310a3c38187d74b7ff0f6dd397

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

module Gateway

  class Merchant
    # Identificador da loja na plataforma
    attr_accessor :MerchantReference

    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/Merchant/merchant.rb
stone_ecommerce-1.4.0 lib/gateway/Merchant/merchant.rb
mundipagg_sdk-1.4.0 lib/gateway/Merchant/merchant.rb
stone_ecommerce-1.3.0 lib/gateway/Merchant/merchant.rb
stone_ecommerce-1.2.3 lib/gateway/Merchant/merchant.rb