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


17
18
19
# File 'lib/bigcommerce/resources/products/custom_field.rb', line 17

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

.count_all(params = {}) ⇒ Object


21
22
23
# File 'lib/bigcommerce/resources/products/custom_field.rb', line 21

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