Class: Bigcommerce::State

Inherits:
Resource
  • Object
show all
Defined in:
lib/bigcommerce/resources/geography/state.rb

Class Method Summary collapse

Class Method Details

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


18
19
20
# File 'lib/bigcommerce/resources/geography/state.rb', line 18

def self.count(country_id, params = {})
  get "countries/#{country_id}/states/count", params
end

.count_all(params = {}) ⇒ Object


22
23
24
# File 'lib/bigcommerce/resources/geography/state.rb', line 22

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