Class: Radar::API::Text

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

Constant Summary collapse

TITLE =
1
CONTENT =
2
FIELDS =
{
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title'},
  CONTENT => {:type => ::Thrift::Types::STRING, :name => 'content'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end