Class: Esse::AsyncIndexing::ActiveRecordCallbacks::Callback
- Inherits:
-
Esse::ActiveRecord::Callback
- Object
- Esse::ActiveRecord::Callback
- Esse::AsyncIndexing::ActiveRecordCallbacks::Callback
- Defined in:
- lib/esse/async_indexing/active_record_callbacks/callback.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#service_name ⇒ Object
readonly
Returns the value of attribute service_name.
Instance Method Summary collapse
-
#initialize(service_name:, with: nil, **kwargs) ⇒ Callback
constructor
A new instance of Callback.
Constructor Details
#initialize(service_name:, with: nil, **kwargs) ⇒ Callback
Returns a new instance of Callback.
8 9 10 11 12 |
# File 'lib/esse/async_indexing/active_record_callbacks/callback.rb', line 8 def initialize(service_name:, with: nil, **kwargs) @service_name = service_name @with = with super(**kwargs) end |
Instance Attribute Details
#service_name ⇒ Object (readonly)
Returns the value of attribute service_name.
6 7 8 |
# File 'lib/esse/async_indexing/active_record_callbacks/callback.rb', line 6 def service_name @service_name end |