module SageoneSdk::Client::FinancialSettings

Represents the financial settings in Sage One. This includes year end date and tax schemes.

Public Instance Methods

financial_settings(options = {}) click to toggle source

@return [object] Returns the financial settings.

# File lib/sageone_sdk/client/financial_settings.rb, line 9
def financial_settings(options = {})
  get "financial_settings", options
end
update_financial_settings(data, options = {}) click to toggle source

Updates the financial settings with the data provided. @example Change the year end date

@client.update_financial_settings({"year_end_date" => "2016-12-31"})

@param data [hash] The settings information to update. @param options [hash]

# File lib/sageone_sdk/client/financial_settings.rb, line 18
def update_financial_settings(data, options = {})
  put "financial_settings", :financial_settings => data
end