Sha256: 4d023299d7d381ca7329507b413c729c0727f139c5ba21f9d1b3034bfb1ca8f5
Contents?: true
Size: 356 Bytes
Versions: 4
Compression:
Stored size: 356 Bytes
Contents
module Tictail module Api module Order def get_orders params raise InvalidParams.new('No store id spacified') unless params[:store_id] order_id = params[:order_id] ? "/#{params[:order_id]}" : '' response = get("/v1/stores/#{params[:store_id]}/orders" + order_id, params) response.body end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tictail-api-0.0.4 | lib/tictail/api/order.rb |
tictail-api-0.0.3 | lib/tictail/api/order.rb |
tictail-api-0.0.2 | lib/tictail/api/order.rb |
tictail-api-0.0.1 | lib/tictail/api/order.rb |