Sha256: bf3ae6d0ead458c86c177fc3aa9338c68ee69c8f3d3eb87aa416c351b271fbf5

Contents?: true

Size: 261 Bytes

Versions: 31

Compression:

Stored size: 261 Bytes

Contents

module Catalogcat
  class Client < Footrest::Client
    module Orders
      def list_orders(params = {})
        get("api/v1/orders", params)
      end

      def get_order(id, params = {})
        get("api/v1/orders/#{id}", params)
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
bearcat-1.5.13 lib/catalogcat/client/orders.rb
bearcat-1.5.12 lib/catalogcat/client/orders.rb
bearcat-1.5.11 lib/catalogcat/client/orders.rb
bearcat-1.5.10 lib/catalogcat/client/orders.rb
bearcat-1.5.9 lib/catalogcat/client/orders.rb
bearcat-1.5.8 lib/catalogcat/client/orders.rb
bearcat-1.5.7 lib/catalogcat/client/orders.rb
bearcat-1.5.6 lib/catalogcat/client/orders.rb
bearcat-1.5.5 lib/catalogcat/client/orders.rb
bearcat-1.5.4 lib/catalogcat/client/orders.rb
bearcat-1.5.3 lib/catalogcat/client/orders.rb