Sha256: bd56c3d22a7f0aa1ece9216cdad68630f4331711664a96123a950900d333f12d
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
module Ecommerce module Resources # # A wrapper to Ecommerce adjustments orders API. # class AdjustmentOrderCollection < Collection private def build_collection Ecommerce::Resources::Base.parsed_body(response).each do |adjustment_order_attributes| collection.push(Ecommerce::Resources::AdjustmentOrder.new(adjustment_order_attributes)) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecommerce-client-0.0.5 | lib/ecommerce/resources/adjustment_order_collection.rb |
ecommerce-client-0.0.4 | lib/ecommerce/resources/adjustment_order_collection.rb |