Class: Betsy::ShopListingVariationImage
- Inherits:
-
Object
- Object
- Betsy::ShopListingVariationImage
- Includes:
- Model
- Defined in:
- lib/betsy/shop_listing_variation_image.rb
Class Method Summary collapse
- .get_listing_variation_images(shop_id, listing_id) ⇒ Object
- .update_variation_images(shop_id, listing_id, options = {}) ⇒ Object
Methods included from Model
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, = {}) make_request(:post, "/v3/application/shops/#{shop_id}/listings/#{listing_id}/variation-images", ) end |