Class: Solr::Delete::Request
- Inherits:
-
Object
- Object
- Solr::Delete::Request
- Defined in:
- lib/solr/delete/request.rb
Constant Summary collapse
- PATH =
'/update'.freeze
Instance Attribute Summary collapse
-
#delete_command ⇒ Object
readonly
Returns the value of attribute delete_command.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Request
constructor
A new instance of Request.
- #run(commit: false, runner_options: nil) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Request
Returns a new instance of Request.
10 11 12 13 |
# File 'lib/solr/delete/request.rb', line 10 def initialize( = {}) = () @delete_command = { delete: } end |
Instance Attribute Details
#delete_command ⇒ Object (readonly)
Returns the value of attribute delete_command.
8 9 10 |
# File 'lib/solr/delete/request.rb', line 8 def delete_command @delete_command end |