Module: Operations
- Defined in:
- lib/operations.rb,
lib/operations/version.rb
Overview
The root gem module
Defined Under Namespace
Modules: Components, Convenience, TestHelpers, Types Classes: Command, Configuration, Contract, Error, Form, Inspect, Result
Constant Summary collapse
- DEFAULT_ERROR_REPORTER =
->(, payload) { Sentry.(, extra: payload) }
- DEFAULT_TRANSACTION =
->(&block) { ActiveRecord::Base.transaction(requires_new: true, &block) }
- DEFAULT_AFTER_COMMIT =
->(&block) { AfterCommitEverywhere.after_commit(&block) }
- VERSION =
"0.7.2"
Class Attribute Summary collapse
-
.default_config ⇒ Object
readonly
Returns the value of attribute default_config.
Class Method Summary collapse
Class Attribute Details
.default_config ⇒ Object (readonly)
Returns the value of attribute default_config.
37 38 39 |
# File 'lib/operations.rb', line 37 def default_config @default_config end |
Class Method Details
.configure(configuration = nil, **options) ⇒ Object
39 40 41 |
# File 'lib/operations.rb', line 39 def configure(configuration = nil, **) @default_config = (configuration || Configuration).new(**) end |