Class: Droonga::Plugins::CRUD::Handler::MissingPrimaryKeyParameter

Inherits:
BadRequest
  • Object
show all
Defined in:
lib/droonga/plugins/crud.rb

Instance Method Summary collapse

Constructor Details

#initialize(table_name) ⇒ MissingPrimaryKeyParameter

Returns a new instance of MissingPrimaryKeyParameter.



60
61
62
63
# File 'lib/droonga/plugins/crud.rb', line 60

def initialize(table_name)
  super("\"key\" must be specified. " +
          "The table #{table_name.inspect} requires a primary key for a new record.")
end