Class: Fortnox::Account
- Defined in:
- lib/fortnox/resources/account.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#balance_brought_forward ⇒ Object
Returns the value of attribute balance_brought_forward.
-
#balance_carried_forward ⇒ Object
Returns the value of attribute balance_carried_forward.
-
#cost_center ⇒ Object
Returns the value of attribute cost_center.
-
#cost_center_settings ⇒ Object
Returns the value of attribute cost_center_settings.
-
#description ⇒ Object
Returns the value of attribute description.
-
#number ⇒ Object
Returns the value of attribute number.
-
#project ⇒ Object
Returns the value of attribute project.
-
#project_settings ⇒ Object
Returns the value of attribute project_settings.
-
#sru ⇒ Object
Returns the value of attribute sru.
-
#transaction_information ⇒ Object
Returns the value of attribute transaction_information.
-
#transaction_information_settings ⇒ Object
Returns the value of attribute transaction_information_settings.
-
#vat_code ⇒ Object
Returns the value of attribute vat_code.
-
#year ⇒ Object
Returns the value of attribute year.
Method Summary
Methods inherited from Resource
build_objects, create, #endpoint, endpoint, fetch, #initialize, perform_request, relation, relations, search, #to_hash, #to_json, #update
Constructor Details
This class inherits a constructor from Fortnox::Resource
Instance Attribute Details
#active ⇒ Object
Returns the value of attribute active.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def active @active end |
#balance_brought_forward ⇒ Object
Returns the value of attribute balance_brought_forward.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def balance_brought_forward @balance_brought_forward end |
#balance_carried_forward ⇒ Object
Returns the value of attribute balance_carried_forward.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def balance_carried_forward @balance_carried_forward end |
#cost_center ⇒ Object
Returns the value of attribute cost_center.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def cost_center @cost_center end |
#cost_center_settings ⇒ Object
Returns the value of attribute cost_center_settings.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def cost_center_settings @cost_center_settings end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def description @description end |
#number ⇒ Object
Returns the value of attribute number.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def number @number end |
#project ⇒ Object
Returns the value of attribute project.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def project @project end |
#project_settings ⇒ Object
Returns the value of attribute project_settings.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def project_settings @project_settings end |
#sru ⇒ Object
Returns the value of attribute sru.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def sru @sru end |
#transaction_information ⇒ Object
Returns the value of attribute transaction_information.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def transaction_information @transaction_information end |
#transaction_information_settings ⇒ Object
Returns the value of attribute transaction_information_settings.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def transaction_information_settings @transaction_information_settings end |
#vat_code ⇒ Object
Returns the value of attribute vat_code.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def vat_code @vat_code end |
#year ⇒ Object
Returns the value of attribute year.
3 4 5 |
# File 'lib/fortnox/resources/account.rb', line 3 def year @year end |