Class: Startback::Operation::ErrorOperation
- Inherits:
-
Startback::Operation
- Object
- Startback::Operation
- Startback::Operation::ErrorOperation
- Defined in:
- lib/startback/operation/error_operation.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Attributes inherited from Startback::Operation
Instance Method Summary collapse
- #bind(world) ⇒ Object
- #call ⇒ Object
-
#initialize(details) ⇒ ErrorOperation
constructor
A new instance of ErrorOperation.
Methods inherited from Startback::Operation
emits, #method_missing, #respond_to?, #with_context
Methods included from Support::TransactionPolicy
#after_commit, #transaction_policy, #transaction_policy=
Methods included from Support::OperationRunner
Methods included from Errors
bad_request_error!, conflict_error!, expectation_failed_error!, forbidden_error!, gone_error!, internal_server_error!, locked_error!, method_not_allowed_error!, not_acceptable_error!, not_found_error!, not_implemented_error!, precondition_failed_error!, precondition_required_error!, server_error!, unauthorized_error!, unsupported_media_type_error!, user_error!
Constructor Details
#initialize(details) ⇒ ErrorOperation
Returns a new instance of ErrorOperation.
5 6 7 |
# File 'lib/startback/operation/error_operation.rb', line 5 def initialize(details) @details = details end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Startback::Operation
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
8 9 10 |
# File 'lib/startback/operation/error_operation.rb', line 8 def details @details end |
Instance Method Details
#bind(world) ⇒ Object
13 14 15 |
# File 'lib/startback/operation/error_operation.rb', line 13 def bind(world) self end |
#call ⇒ Object
10 11 |
# File 'lib/startback/operation/error_operation.rb', line 10 def call end |