Sha256: 76398bfa4182939911e4fa51d0ff4988004d134a0fd2b245c3e8904f8b13c9d1

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 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.5.0 lib/turkish_banks/branch.rb
turkish_banks-0.4.0 lib/turkish_banks/branch.rb