Class: Fortnox::CostCenter
- Defined in:
- lib/fortnox/resources/cost_center.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#code ⇒ Object
Returns the value of attribute code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#note ⇒ Object
Returns the value of attribute note.
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/cost_center.rb', line 3 def active @active end |
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/fortnox/resources/cost_center.rb', line 3 def code @code end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/fortnox/resources/cost_center.rb', line 3 def description @description end |
#note ⇒ Object
Returns the value of attribute note.
3 4 5 |
# File 'lib/fortnox/resources/cost_center.rb', line 3 def note @note end |