Class: Figo::Bank

Inherits:
Base
  • Object
show all
Defined in:
lib/bank/model.rb

Overview

Object representing a bank, i.e. an connection to a bank

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#dump, dump_attributes

Constructor Details

#initialize(session, json) ⇒ Bank

Returns a new instance of Bank.



7
8
9
# File 'lib/bank/model.rb', line 7

def initialize(session, json)
  super(session, json)
end

Instance Attribute Details

#bank_idString

Internal figo Connect bank ID

Returns:

  • (String)


13
14
15
# File 'lib/bank/model.rb', line 13

def bank_id
  @bank_id
end

#save_pinBoolean

This flag indicates whether the user has chosen to save the PIN on the figo Connect server

Returns:

  • (Boolean)


21
22
23
# File 'lib/bank/model.rb', line 21

def save_pin
  @save_pin
end

#sepa_creditor_idString

SEPA direct debit creditor ID

Returns:

  • (String)


17
18
19
# File 'lib/bank/model.rb', line 17

def sepa_creditor_id
  @sepa_creditor_id
end