Sha256: 663a0218172f3d25bf812e7987cbc13c8476ed56b33c7cbb5fd29f3599da257e

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

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