lib/divISOr/iso3166.rb in divISOr-0.0.1 vs lib/divISOr/iso3166.rb in divISOr-1.0.0
- old
+ new
@@ -1,4 +1,10 @@
class ISO3166
- PATH = '/iso_data/3166'
- include ISO
+ include HashWrapper
+
+ FIELDS = [:code, :country]
+
+ class Codes
+ PATH = '/iso_data/3166'
+ include ISO
+ end
end