Class: Beanie::JournalItem
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_credit ⇒ Object
Returns the value of attribute is_credit.
-
#journal_id ⇒ Object
Returns the value of attribute journal_id.
-
#nominal_account_id ⇒ Object
Returns the value of attribute nominal_account_id.
Instance Method Summary collapse
-
#initialize ⇒ JournalItem
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 ⇒ JournalItem
Initialize instance variables
36 37 38 39 40 41 42 |
# File 'lib/beanie/journal_item.rb', line 36 def initialize @id = nil @amount = nil @is_credit = nil @journal_id = nil @nominal_account_id = nil end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
32 33 34 |
# File 'lib/beanie/journal_item.rb', line 32 def amount @amount end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/journal_item.rb', line 32 def id @id end |
#is_credit ⇒ Object
Returns the value of attribute is_credit.
32 33 34 |
# File 'lib/beanie/journal_item.rb', line 32 def is_credit @is_credit end |
#journal_id ⇒ Object
Returns the value of attribute journal_id.
32 33 34 |
# File 'lib/beanie/journal_item.rb', line 32 def journal_id @journal_id end |
#nominal_account_id ⇒ Object
Returns the value of attribute nominal_account_id.
32 33 34 |
# File 'lib/beanie/journal_item.rb', line 32 def nominal_account_id @nominal_account_id end |