Class: Betsy::ShopListingInventory
- Inherits:
-
Object
- Object
- Betsy::ShopListingInventory
- Includes:
- Model
- Defined in:
- lib/betsy/shop_listing_inventory.rb
Class Method Summary collapse
- .get_listing_inventory(listing_id, options = {}) ⇒ Object
- .update_listing_inventory(listing_id, options = {}) ⇒ Object
Methods included from Model
Class Method Details
.get_listing_inventory(listing_id, options = {}) ⇒ Object
13 14 15 |
# File 'lib/betsy/shop_listing_inventory.rb', line 13 def self.get_listing_inventory(listing_id, = {}) make_request(:get, "/v3/application/listings/#{listing_id}/inventory", ) end |
.update_listing_inventory(listing_id, options = {}) ⇒ Object
17 18 19 |
# File 'lib/betsy/shop_listing_inventory.rb', line 17 def self.update_listing_inventory(listing_id, = {}) make_request(:put, "/v3/application/listings/#{listing_id}/inventory", ) end |