Module: SageoneSdk::Client::AccountTypes
- Included in:
- SageoneSdk::Client
- Defined in:
- lib/sageone_sdk/client/account_types.rb
Overview
Represents the bank account types in Sage One. For example, Savings or Cash in Hand.
Instance Method Summary collapse
-
#account_type(id, options = {}) ⇒ object
Returns the bank account type with the given id.
-
#account_types(options = {}) ⇒ object
Returns all of the bank account types in Sage One.
Instance Method Details
#account_type(id, options = {}) ⇒ object
Returns the bank account type with the given id.
14 15 16 |
# File 'lib/sageone_sdk/client/account_types.rb', line 14 def account_type(id, = {}) get "account_types/#{id}", end |
#account_types(options = {}) ⇒ object
Returns all of the bank account types in Sage One.
9 10 11 |
# File 'lib/sageone_sdk/client/account_types.rb', line 9 def account_types( = {}) get "account_types", end |