Class: PgLedger::EntryBuilder::Leg

Inherits:
Struct
  • Object
show all
Defined in:
lib/pg_ledger/entry_builder.rb

Instance Attribute Summary collapse

Instance Attribute Details

#account_ref ⇒ Object

Returns the value of attribute account_ref

Returns:

  • (Object) —

    the current value of account_ref



5
6
7
# File 'lib/pg_ledger/entry_builder.rb', line 5

def 
  @account_ref
end

#amount ⇒ Object

Returns the value of attribute amount

Returns:

  • (Object) —

    the current value of amount



5
6
7
# File 'lib/pg_ledger/entry_builder.rb', line 5

def amount
  @amount
end

#direction ⇒ Object

Returns the value of attribute direction

Returns:

  • (Object) —

    the current value of direction



5
6
7
# File 'lib/pg_ledger/entry_builder.rb', line 5

def direction
  @direction
end