Class: Betsy::ShopListingVariationImage

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

Class Method Summary collapse

Methods included from Model

included, #initialize

Class Method Details

.get_listing_variation_images(shop_id, listing_id) ⇒ Object



11
12
13
# File 'lib/betsy/shop_listing_variation_image.rb', line 11

def self.get_listing_variation_images(shop_id, listing_id)
  make_request(:get, "/v3/application/shops/#{shop_id}/listings/#{listing_id}/variation-images")
end

.update_variation_images(shop_id, listing_id, options = {}) ⇒ Object



15
16
17
# File 'lib/betsy/shop_listing_variation_image.rb', line 15

def self.update_variation_images(shop_id, listing_id, options = {})
  make_request(:post, "/v3/application/shops/#{shop_id}/listings/#{listing_id}/variation-images", options)
end