Class: Radar::API::Point

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

Constant Summary collapse

X =
1
Y =
2
FIELDS =
{
  X => {:type => ::Thrift::Types::I32, :name => 'x'},
  Y => {:type => ::Thrift::Types::DOUBLE, :name => 'y'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end