Class: Bigcommerce::CustomField

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

Class Method Summary collapse

Class Method Details

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



19
20
21
# File 'lib/bigcommerce/resources/products/custom_field.rb', line 19

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

.count_all(params = {}) ⇒ Object



23
24
25
# File 'lib/bigcommerce/resources/products/custom_field.rb', line 23

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