Sha256: 872397f206f38d90360d0fb6fab72bb1b0e048d1ddb948193445abf6ff573017

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 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

1 entries across 1 versions & 1 rubygems

Version Path
turkish_banks-0.6.0 lib/turkish_banks/bank.rb