Class: Tripletexer::Endpoints::Inventory
- Inherits:
-
AbstractEndpoint
- Object
- AbstractEndpoint
- Tripletexer::Endpoints::Inventory
- Defined in:
- lib/tripletexer/endpoints/inventory.rb
Instance Method Summary collapse
Methods inherited from AbstractEndpoint
Constructor Details
This class inherits a constructor from Tripletexer::Endpoints::AbstractEndpoint
Instance Method Details
#find(id, params = {}) ⇒ Object
11 12 13 |
# File 'lib/tripletexer/endpoints/inventory.rb', line 11 def find(id, params = {}) find_entity("/v2/inventory/#{id}", params) end |
#search(params = {}) ⇒ Object
6 7 8 |
# File 'lib/tripletexer/endpoints/inventory.rb', line 6 def search(params = {}) find_entities('/v2/inventory', params) end |