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

Instance Method Details

#account_type(id, options = {}) ⇒ object

Returns the bank account type with the given id.

Returns:

  • (object)

    Returns the bank account type with the given id.



14
15
16
# File 'lib/sageone_sdk/client/account_types.rb', line 14

def (id, options = {})
  get "account_types/#{id}", options
end

#account_types(options = {}) ⇒ object

Returns all of the bank account types in Sage One.

Returns:

  • (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 (options = {})
  get "account_types", options
end