lib/oneaccess/data_object/country.rb in oneaccess-0.1.3 vs lib/oneaccess/data_object/country.rb in oneaccess-0.1.4
- old
+ new
@@ -2,9 +2,13 @@
require_relative "./representer/country"
module ONEAccess
module DataObject
class Country
+ extend Serializable
+
+ represented_by Representer::Country
+
attr_accessor :id
attr_accessor :name
attr_accessor :code
attr_accessor :code3
attr_accessor :description