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