Class: Betsy::ShopListingInventory

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/betsy/shop_listing_inventory.rb

Class Method Summary collapse

Methods included from Model

included, #initialize

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, options = {})
  make_request(:get, "/v3/application/listings/#{listing_id}/inventory", options)
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, options = {})
  make_request(:put, "/v3/application/listings/#{listing_id}/inventory", options)
end