Sha256: eaeffedb1070580b319cb8d7d5685de0441c16f3bb805ce35e0a9405f15b5a81
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
module Reshape class Client module Orders def cart(options={}, raw=false) get("/orders/cart/#{api_version}", options, raw) end def add_to_cart(model_id, material_id, quantity, options={}, raw=false) options.merge!( { modelId: model_id, materialId: material_id, quantity: quantity }) post("/orders/cart/#{api_version}", options, raw) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reshape-0.2 | lib/reshape/client/orders.rb |
reshape-0.1.1 | lib/reshape/client/orders.rb |
reshape-0.1 | lib/reshape/client/orders.rb |