lib/oneaccess/data_object/organization.rb in oneaccess-0.1.3 vs lib/oneaccess/data_object/organization.rb in oneaccess-0.1.4
- old
+ new
@@ -2,9 +2,13 @@
require_relative "./representer/organization"
module ONEAccess
module DataObject
class Organization
+ extend Serializable
+
+ represented_by Representer::Organization
+
attr_accessor :id
attr_accessor :name
attr_accessor :active
attr_accessor :short_name
attr_accessor :type