Class: OFX::Account

Inherits:
Object
  • Object
show all
Defined in:
lib/ofx/account.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ffi_account) ⇒ Account

Returns a new instance of Account.



6
7
8
9
10
11
# File 'lib/ofx/account.rb', line 6

def initialize()
  @number = ..to_s
  @type   = .

  @transactions = []
end

Instance Attribute Details

#numberObject (readonly)

Returns the value of attribute number.



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

def number
  @number
end

#transactionsObject

Returns the value of attribute transactions.



4
5
6
# File 'lib/ofx/account.rb', line 4

def transactions
  @transactions
end

#typeObject (readonly)

Returns the value of attribute type.



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

def type
  @type
end