Class: Snap::Api::StockTotals
- Inherits:
-
Object
- Object
- Snap::Api::StockTotals
- Extended by:
- Client
- Includes:
- HTTParty
- Defined in:
- lib/snap/api/stock_totals.rb
Overview
Interact with the stock totals endpoint.
Class Method Summary collapse
Methods included from Client
client, delete, get, post, put, snoop_for_errors, wrap_response
Class Method Details
.index ⇒ Object
8 9 10 |
# File 'lib/snap/api/stock_totals.rb', line 8 def self.index client.get('/stocktotals') end |
.model ⇒ Object
12 13 14 |
# File 'lib/snap/api/stock_totals.rb', line 12 def self.model Snap::StockTotalList end |