Class: Droonga::Catalog::ValidationError::Detail

Inherits:
Object
  • Object
show all
Defined in:
lib/droonga/catalog/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value_path, message) ⇒ Detail

Returns a new instance of Detail.



23
24
25
26
# File 'lib/droonga/catalog/errors.rb', line 23

def initialize(value_path, message)
  @value_path = value_path
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



22
23
24
# File 'lib/droonga/catalog/errors.rb', line 22

def message
  @message
end

#value_pathObject (readonly)

Returns the value of attribute value_path.



22
23
24
# File 'lib/droonga/catalog/errors.rb', line 22

def value_path
  @value_path
end