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