Module: SageoneSdk::Client::Countries
- Included in:
- SageoneSdk::Client
- Defined in:
- lib/sageone_sdk/client/countries.rb
Overview
Represents the countries available to select in Sage One.
Instance Method Summary collapse
-
#countries(options = {}) ⇒ object
Returns all countries.
-
#country(id, options = {}) ⇒ object
Returns the country with the given id.
Instance Method Details
#countries(options = {}) ⇒ object
Returns all countries.
8 9 10 |
# File 'lib/sageone_sdk/client/countries.rb', line 8 def countries( = {}) get "countries", end |
#country(id, options = {}) ⇒ object
Returns the country with the given id.
13 14 15 |
# File 'lib/sageone_sdk/client/countries.rb', line 13 def country(id, = {}) get "countries/#{id}", end |