Sha256: 779db8fd73bfebc3a88886fa7fca2b316110f4fa9a72a9938c93fdabda106515
Contents?: true
Size: 561 Bytes
Versions: 1
Compression:
Stored size: 561 Bytes
Contents
module TurkishBanks class Branch attr_reader :name, :code, :bank_code, :city_code, :city, :district_code, :district, :phone def initialize(branch_params) @name = branch_params['sAd'] @code = branch_params['sKd'] @bank_code = branch_params['bKd'] @city_code = branch_params['sIlKd'] @city = branch_params['sIlAd'] @district_code = branch_params['sIlcKd'] @district = branch_params['sIlcAd'] @phone = branch_params['tlf'] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
turkish_banks-1.0.0 | lib/turkish_banks/branch.rb |