Sha256: c394e6504e494c6e3c2468f891dcfaf4a3148a5ed50725b86929f8c446ed2b0e

Contents?: true

Size: 346 Bytes

Versions: 4

Compression:

Stored size: 346 Bytes

Contents

class QuerySaleResponse
  # Lista de vendas
  attr_accessor :SaleDataCollection

  # Indicador do total de vendas
  attr_accessor :SaleDataCount

  def initialize
    @SaleDataCollection = Array.new
  end

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