Sha256: 3e378ded8a4e6ad051a94a1c3b359b25b642c590fda76c600f13f8aca2103db4

Contents?: true

Size: 363 Bytes

Versions: 9

Compression:

Stored size: 363 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

9 entries across 9 versions & 2 rubygems

Version Path
mundipagg_sdk-1.0.2 lib/gateway/Sale/query_sale_response.rb
mundipagg_sdk-1.0.1 lib/gateway/Sale/query_sale_response.rb
mundipagg_sdk-1.0.0 lib/gateway/Sale/query_sale_response.rb
mundipagg_api-1.3.1 lib/mundipagg/Sale/query_sale_response.rb
mundipagg_api-1.3.0 lib/mundipagg/Sale/query_sale_response.rb
mundipagg_api-1.1.1 lib/mundipagg/Sale/query_sale_response.rb
mundipagg_api-1.1.0 lib/mundipagg/Sale/query_sale_response.rb
mundipagg_api-1.0.1 lib/mundipagg/Sale/query_sale_response.rb
mundipagg_api-1.0.0 lib/mundipagg/Sale/query_sale_response.rb