Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #39 from spreedly/master
Browse files Browse the repository at this point in the history
Moved Code#iban from attr_accessor to attr_writer
  • Loading branch information
greysteil committed May 4, 2016
2 parents c168ffb + 857322e commit 4bb3b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/iso_country_codes/code.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def iban
end

class << self
attr_accessor :name, :numeric, :alpha2, :alpha3, :calling, :continent, :main_currency, :iban
attr_writer :currencies
attr_accessor :name, :numeric, :alpha2, :alpha3, :calling, :continent, :main_currency
attr_writer :currencies, :iban
alias_method :currency, :main_currency
alias_method :calling_code, :calling

Expand Down

0 comments on commit 4bb3b47

Please sign in to comment.