class DebugScoreComponent

Constants

FIELDS
KEY
VALUE

Public Instance Methods

struct_fields() click to toggle source
# File lib/thrift/geocoder_types.rb, line 418
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/thrift/geocoder_types.rb, line 420
def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field key is unset!') unless @key
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field value is unset!') unless @value
end