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


16
17
18
# File 'lib/bigcommerce/resources/products/product_video.rb', line 16

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

.count_all(params = {}) ⇒ Object


20
21
22
# File 'lib/bigcommerce/resources/products/product_video.rb', line 20

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