module Shiphawk::Api::Items
Items
API
The following API actions provide the CRUD interface to managing items.
Public Instance Methods
items_index()
click to toggle source
# File lib/shiphawk/api/items.rb, line 12 def items_index collection_request items_path, 500 end
items_search(options)
click to toggle source
# File lib/shiphawk/api/items.rb, line 20 def items_search options entity_request_with_options items_path('search'), q: options.fetch(:q, '') end
items_show(item_id)
click to toggle source
# File lib/shiphawk/api/items.rb, line 16 def items_show item_id entity_request_with_id items_path, item_id end