Class: Bigcommerce::State
- Defined in:
- lib/bigcommerce/resources/geography/state.rb
Class Method Summary collapse
Class Method Details
.count(country_id, params = {}) ⇒ Object
20 21 22 |
# File 'lib/bigcommerce/resources/geography/state.rb', line 20 def self.count(country_id, params = {}) get "countries/#{country_id}/states/count", params end |
.count_all(params = {}) ⇒ Object
24 25 26 |
# File 'lib/bigcommerce/resources/geography/state.rb', line 24 def self.count_all(params = {}) get 'countries/states/count', params end |