Method: ActiveMerchant::Country#initialize
- Defined in:
- lib/active_merchant/country.rb
#initialize(options = {}) ⇒ Country
Returns a new instance of Country.
41 42 43 44 |
# File 'lib/active_merchant/country.rb', line 41 def initialize( = {}) @name = .delete(:name) @codes = .collect { |_k, v| CountryCode.new(v) } end |