Sha256: 6efb98236f5afd88aa3361c145f43e77b1c3b8ca3ba36cf676c9047eb9f24f61

Contents?: true

Size: 281 Bytes

Versions: 2

Compression:

Stored size: 281 Bytes

Contents

module TurkishBanks
  class Branch < TurkishBank
    attr_accessor :name, :code, :bank_code, :city
    
    def initialize branch
      @name      = branch["sAd"]
      @code      = branch["sKd"]
      @bank_code = branch["bKd"]
      @city      = branch["bIlAd"]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
turkish_banks-0.3.0 lib/turkish_banks/branch.rb
turkish_banks-0.2.0 lib/turkish_banks/branch.rb