lib/oneaccess/data_object/company_light.rb in oneaccess-0.1.3 vs lib/oneaccess/data_object/company_light.rb in oneaccess-0.1.4
- old
+ new
@@ -3,9 +3,13 @@
require_relative "./representer/company_light"
module ONEAccess
module DataObject
class CompanyLight
+ extend Serializable
+
+ represented_by Representer::CompanyLight
+
attr_accessor :id
attr_accessor :name
attr_accessor :is_private
attr_accessor :exchange_code
attr_accessor :ticker