Class: Bigcommerce::BulkPricingRule

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

Class Method Summary collapse

Class Method Details

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


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

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

.count_all(params = {}) ⇒ Object


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

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