Skip to content

Commit

Permalink
Merge pull request #297 from aaronmallen/chore/#271
Browse files Browse the repository at this point in the history
#271 deprecate ActiveInteractor::Context::Status
  • Loading branch information
aaronmallen committed Nov 4, 2020
2 parents 5a0e03a + f43d829 commit 43c105e
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 43c105e

Please sign in to comment.