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