Class: Beanie::FixedAsset
Instance Attribute Summary collapse
-
#acquired ⇒ Object
Returns the value of attribute acquired.
-
#cost ⇒ Object
Returns the value of attribute cost.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#nominal_account_id ⇒ Object
Returns the value of attribute nominal_account_id.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ FixedAsset
constructor
Initialize instance variables.
Methods inherited from Api
all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers
Constructor Details
#initialize ⇒ FixedAsset
Initialize instance variables
36 37 38 39 40 41 42 43 |
# File 'lib/beanie/fixed_asset.rb', line 36 def initialize @id = nil @acquired = nil @cost = nil @name = nil @value = nil @nominal_account_id = nil end |
Instance Attribute Details
#acquired ⇒ Object
Returns the value of attribute acquired.
32 33 34 |
# File 'lib/beanie/fixed_asset.rb', line 32 def acquired @acquired end |
#cost ⇒ Object
Returns the value of attribute cost.
32 33 34 |
# File 'lib/beanie/fixed_asset.rb', line 32 def cost @cost end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/fixed_asset.rb', line 32 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
32 33 34 |
# File 'lib/beanie/fixed_asset.rb', line 32 def name @name end |
#nominal_account_id ⇒ Object
Returns the value of attribute nominal_account_id.
32 33 34 |
# File 'lib/beanie/fixed_asset.rb', line 32 def nominal_account_id @nominal_account_id end |
#value ⇒ Object
Returns the value of attribute value.
32 33 34 |
# File 'lib/beanie/fixed_asset.rb', line 32 def value @value end |