Class: Bigcommerce::ProductVideo

Inherits:
Resource
  • Object
show all
Defined in:
lib/bigcommerce/resources/products/product_video.rb

Class Method Summary collapse

Class Method Details

.count(product_id, params = {}) ⇒ Object



18
19
20
# File 'lib/bigcommerce/resources/products/product_video.rb', line 18

def self.count(product_id, params = {})
  get "products/#{product_id}/videos/count", params
end

.count_all(params = {}) ⇒ Object



22
23
24
# File 'lib/bigcommerce/resources/products/product_video.rb', line 22

def self.count_all(params = {})
  get 'products/videos/count', params
end