Class: Droonga::Plugins::CRUD::Handler::MissingPrimaryKeyParameter
- Inherits:
-
BadRequest
- Object
- BadRequest
- Droonga::Plugins::CRUD::Handler::MissingPrimaryKeyParameter
- Defined in:
- lib/droonga/plugins/crud.rb
Instance Method Summary collapse
-
#initialize(table_name) ⇒ MissingPrimaryKeyParameter
constructor
A new instance of MissingPrimaryKeyParameter.
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 |