class BanksterClient::BankAccount

Attributes

bic[R]
iban[R]
owner[R]

Public Class Methods

new(owner, iban, bic) click to toggle source
# File lib/bankster/client/bank_account.rb, line 6
def initialize(owner, iban, bic)
  @owner = owner
  @iban = iban
  @bic = bic
end

Public Instance Methods

to_h() click to toggle source
# File lib/bankster/client/bank_account.rb, line 12
def to_h
  {
    owner: @owner,
    iban: @iban,
    bic: @bic
  }
end