Module: Spree::API::Client::Countries
- Included in:
- Spree::API::Client
- Defined in:
- lib/spree-api-client/countries.rb
Instance Method Summary collapse
Instance Method Details
#countries(options = {}) ⇒ Object
5 6 7 |
# File 'lib/spree-api-client/countries.rb', line 5 def countries(={}) get("countries", )['countries'] end |
#country(id, options = {}) ⇒ Object
9 10 11 |
# File 'lib/spree-api-client/countries.rb', line 9 def country(id, ={}) get("countries/#{id}", ) end |