Sha256: 420e390ec102849450cce1322db101a7a314d32994dc6a0f5aae9978e1be0e9e
Contents?: true
Size: 436 Bytes
Versions: 3
Compression:
Stored size: 436 Bytes
Contents
module Ecommerce module Resources # # A wrapper to Ecommerce orders API. # class InvoiceOrderCollection < Collection def orders collection end private def build_collection Ecommerce::Resources::Base.parsed_body(response).each do |invoice_attributes| collection.push(Ecommerce::Resources::InvoiceOrder.new(invoice_attributes)) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems