Sha256: 87e7d82598980cd09abf463d7d3ba9b4ed7ca080a13e63de1006b3e561892c60

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 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.3.0 lib/turkish_banks/bank.rb
turkish_banks-0.2.0 lib/turkish_banks/bank.rb