Sha256: 277ac5b8b63964ecc7ef782b707d52558cc8994f1843a32a93e7e13590b6d6f5

Contents?: true

Size: 232 Bytes

Versions: 4

Compression:

Stored size: 232 Bytes

Contents

class Order
  # Identificador do pedido no sistema da loja
  attr_accessor :OrderReference

  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/Order/order.rb
mundipagg_sdk-1.0.3 lib/gateway/Order/order.rb
stone_ecommerce-1.0.2 lib/gateway/Order/order.rb
stone_ecommerce-1.0.0 lib/gateway/Order/order.rb