lib/oneaccess/data_object/representer/company.rb in oneaccess-1.2.0 vs lib/oneaccess/data_object/representer/company.rb in oneaccess-1.3.0
- old
+ new
@@ -11,15 +11,21 @@
property :name, as: :Name, type: String
property :is_private, as: :IsPrivate
property :exchange_code, as: :ExchangeCode, type: String
property :ticker, as: :Ticker, type: String
property :website, as: :Website, type: String
- property :address, as: :Address,
- decorator: Representer::Address, class: DataObject::Address
- property :industry, as: :Industry,
- decorator: Representer::Industry, class: DataObject::Industry
- property :sub_industry, as: :SubIndustry,
- decorator: Representer::Industry, class: DataObject::Industry
+ property :address,
+ as: :Address,
+ decorator: Representer::Address,
+ class: DataObject::Address
+ property :industry,
+ as: :Industry,
+ decorator: Representer::Industry,
+ class: DataObject::Industry
+ property :sub_industry,
+ as: :SubIndustry,
+ decorator: Representer::Industry,
+ class: DataObject::Industry
end
end
end
end