Class: Radar::API::BarChart

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/radar/api/radar_types.rb

Constant Summary collapse

TITLE =
1
SERIES =
2
CATEGORIES =
3
FIELDS =
{
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title'},
  SERIES => {:type => ::Thrift::Types::LIST, :name => 'series', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Radar::API::BarSeries}},
  CATEGORIES => {:type => ::Thrift::Types::LIST, :name => 'categories', :element => {:type => ::Thrift::Types::STRING}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



281
# File 'lib/radar/api/radar_types.rb', line 281

def struct_fields; FIELDS; end

#validateObject



283
284
# File 'lib/radar/api/radar_types.rb', line 283

def validate
end