Sha256: e56dc62ec6350d5f691c262c9f486f0b54351a6cbafae516a66ce4c3834c63af

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

module BanksterClient
  class BankAccount
    attr_reader :owner, :iban, :bic

    def initialize(owner, iban, bic)
      @owner = owner
      @iban = iban
      @bic = bic
    end

    def to_h
      {
        owner: @owner,
        iban: @iban,
        bic: @bic
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bankster-client-0.0.5 lib/bankster_client/bank_account.rb