Class: ElasticRecord::Index::Deferred::DeferredConnection::DeferredAction
- Inherits:
-
Struct
- Object
- Struct
- ElasticRecord::Index::Deferred::DeferredConnection::DeferredAction
- Defined in:
- lib/elastic_record/index/deferred.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#block ⇒ Object
Returns the value of attribute block.
-
#method ⇒ Object
Returns the value of attribute method.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
5 6 7 |
# File 'lib/elastic_record/index/deferred.rb', line 5 def args @args end |
#block ⇒ Object
Returns the value of attribute block
5 6 7 |
# File 'lib/elastic_record/index/deferred.rb', line 5 def block @block end |
#method ⇒ Object
Returns the value of attribute method
5 6 7 |
# File 'lib/elastic_record/index/deferred.rb', line 5 def method @method end |
Instance Method Details
#run(index) ⇒ Object
6 7 8 |
# File 'lib/elastic_record/index/deferred.rb', line 6 def run(index) index.send(method, *args, &block) end |