Sha256: e210b4529d1323b3d4b8675cbac22b76f2cdf9e1418ba5912ef2f3e4b0cbe6a9

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true
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.6 lib/bankster/client/bank_account.rb