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.
61 62 63 |
# File 'lib/hanami/extensions/operation/slice_configured_db_operation.rb', line 61 def initialize(slice) @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.
59 60 61 |
# File 'lib/hanami/extensions/operation/slice_configured_db_operation.rb', line 59 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.
65 66 67 |
# File 'lib/hanami/extensions/operation/slice_configured_db_operation.rb', line 65 def included(operation_class) define_transaction end |