Skip to content

Commit

Permalink
aaronmallen#271 deprecate ActiveInteractor::Context::Status
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmallen authored and dark-panda committed Jul 20, 2021
1 parent 519ef8c commit dfb491c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/active_interactor/context/status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ module Context
# Context status methods. Because {Status} is a module classes should include {Status} rather than inherit from it.
#
# @author Aaron Allen <hello@aaronmallen.me>
# @deprecated use {ActiveInteractor::Interactor::State} instead
# @since 1.0.0
module Status
deprecate :called!, :fail!, :fail?, :failure?, :resolve, :rollback!, :success?, :successful?,
deprecator: ActiveInteractor::Deprecation::V2

# Add an instance of {ActiveInteractor::Base interactor} to the list of {ActiveInteractor::Base interactors}
# called on the {Base context}. This list is used when {#rollback!} is called on a {Base context} instance.
#
Expand Down

0 comments on commit dfb491c

Please sign in to comment.