lib/turkish_banks/branch.rb in turkish_banks-0.3.0 vs lib/turkish_banks/branch.rb in turkish_banks-0.4.0

- old
+ new

@@ -1,9 +1,9 @@ module TurkishBanks class Branch < TurkishBank attr_accessor :name, :code, :bank_code, :city - - def initialize branch + + def initialize(branch) @name = branch["sAd"] @code = branch["sKd"] @bank_code = branch["bKd"] @city = branch["bIlAd"] end \ No newline at end of file