Class: Bigcommerce::CustomerAddress

Inherits:
Resource
  • Object
show all
Defined in:
lib/bigcommerce/resources/customers/customer_address.rb

Class Method Summary collapse

Class Method Details

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


30
31
32
# File 'lib/bigcommerce/resources/customers/customer_address.rb', line 30

def self.count(customer_id, params = {})
  get "customers/#{customer_id}/addresses/count", params
end

.count_all(params = {}) ⇒ Object


26
27
28
# File 'lib/bigcommerce/resources/customers/customer_address.rb', line 26

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