Class: Hanami::Extensions::Operation::SliceConfiguredDBOperation::SliceInstanceMethods Private
- Inherits:
-
Module
- Object
- Module
- Hanami::Extensions::Operation::SliceConfiguredDBOperation::SliceInstanceMethods
- Defined in:
- lib/hanami/extensions/operation/slice_configured_db_operation.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #slice ⇒ Object readonly private
Instance Method Summary collapse
- #included(operation_class) ⇒ Object private
-
#initialize(slice) ⇒ SliceInstanceMethods
constructor
private
A new instance of SliceInstanceMethods.
Constructor Details
#initialize(slice) ⇒ SliceInstanceMethods
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of SliceInstanceMethods.
62 63 64 65 |
# File 'lib/hanami/extensions/operation/slice_configured_db_operation.rb', line 62 def initialize(slice) super() @slice = slice end |
Instance Attribute Details
#slice ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
60 61 62 |
# File 'lib/hanami/extensions/operation/slice_configured_db_operation.rb', line 60 def slice @slice end |
Instance Method Details
#included(operation_class) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
67 68 69 |
# File 'lib/hanami/extensions/operation/slice_configured_db_operation.rb', line 67 def included(operation_class) define_transaction end |