Class: Fortnox::Account

Inherits:
Resource show all
Defined in:
lib/fortnox/resources/account.rb

Instance Attribute Summary collapse

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

#activeObject

Returns the value of attribute active.



3
4
5
# File 'lib/fortnox/resources/account.rb', line 3

def active
  @active
end

#balance_brought_forwardObject

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_forwardObject

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_centerObject

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_settingsObject

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

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/fortnox/resources/account.rb', line 3

def description
  @description
end

#numberObject

Returns the value of attribute number.



3
4
5
# File 'lib/fortnox/resources/account.rb', line 3

def number
  @number
end

#projectObject

Returns the value of attribute project.



3
4
5
# File 'lib/fortnox/resources/account.rb', line 3

def project
  @project
end

#project_settingsObject

Returns the value of attribute project_settings.



3
4
5
# File 'lib/fortnox/resources/account.rb', line 3

def project_settings
  @project_settings
end

#sruObject

Returns the value of attribute sru.



3
4
5
# File 'lib/fortnox/resources/account.rb', line 3

def sru
  @sru
end

#transaction_informationObject

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_settingsObject

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_codeObject

Returns the value of attribute vat_code.



3
4
5
# File 'lib/fortnox/resources/account.rb', line 3

def vat_code
  @vat_code
end

#yearObject

Returns the value of attribute year.



3
4
5
# File 'lib/fortnox/resources/account.rb', line 3

def year
  @year
end