Class: ShipEngine::Constants::Country
- Inherits:
-
Object
- Object
- ShipEngine::Constants::Country
- Defined in:
- lib/shipengine/constants/countries.rb
Class Method Summary collapse
Class Method Details
.valid?(country) ⇒ Boolean
11 12 13 |
# File 'lib/shipengine/constants/countries.rb', line 11 def self.valid?(country) @countries.include?(country.upcase) end |