Sha256: 9f545d0350191a4554aebc1050f8d026d13ced2eef8f04470754b659f9bc1a01

Contents?: true

Size: 256 Bytes

Versions: 2

Compression:

Stored size: 256 Bytes

Contents

module TurkishBanks
  class Bank < TurkishBank
    attr_accessor :name, :code, :city, :address

    def initialize(bank)
      @name    = bank["bAd"]
      @code    = bank["bKd"]
      @city    = bank["bIlAd"]
      @address = bank["adr"]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
turkish_banks-0.5.0 lib/turkish_banks/bank.rb
turkish_banks-0.4.0 lib/turkish_banks/bank.rb