Method: ActiveMerchant::CountryCode#initialize
- Defined in:
- lib/active_utils/common/country.rb
#initialize(value) ⇒ CountryCode
Returns a new instance of CountryCode.
13 14 15 16 |
# File 'lib/active_utils/common/country.rb', line 13 def initialize(value) @value = value.to_s.upcase detect_format end |