class Elasticfusion::Search::InvalidFieldValueError

Attributes

field[R]
value[R]

Public Class Methods

new(field, value) click to toggle source
# File lib/elasticfusion/search/errors.rb, line 16
def initialize(field, value)
  @field = field
  @value = value
end

Public Instance Methods

message() click to toggle source
# File lib/elasticfusion/search/errors.rb, line 21
def message
  "\"#{value}\" is not a valid value for \"#{field}\"."
end