Class: Radar::API::Portfolio
- Inherits:
-
Object
- Object
- Radar::API::Portfolio
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/radar/api/radar_types.rb
Constant Summary collapse
- DATE =
1- POSITIONS =
2- RENTABILITY =
3- NAV =
4- CASH =
5- PROVISIONS =
6- FIELDS =
{ DATE => {:type => ::Thrift::Types::I32, :name => 'date'}, POSITIONS => {:type => ::Thrift::Types::LIST, :name => 'positions', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Radar::API::Position}}, RENTABILITY => {:type => ::Thrift::Types::DOUBLE, :name => 'rentability'}, NAV => {:type => ::Thrift::Types::DOUBLE, :name => 'nav'}, CASH => {:type => ::Thrift::Types::DOUBLE, :name => 'cash'}, # Criado na versão 0.2.1 PROVISIONS => {:type => ::Thrift::Types::LIST, :name => 'provisions', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Radar::API::Provision}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
606 |
# File 'lib/radar/api/radar_types.rb', line 606 def struct_fields; FIELDS; end |
#validate ⇒ Object
608 609 |
# File 'lib/radar/api/radar_types.rb', line 608 def validate end |