lib/hanami/interactor.rb in hanami-utils-1.0.0.beta2 vs lib/hanami/interactor.rb in hanami-utils-1.0.0.beta3

- old
+ new

@@ -1,9 +1,8 @@ require 'hanami/utils/basic_object' require 'hanami/utils/class_attribute' require 'hanami/utils/hash' -require 'hanami/utils/deprecation' module Hanami # Hanami Interactor # # @since 0.3.5 @@ -51,21 +50,9 @@ @success && errors.empty? end # @since 0.3.5 alias success? successful? - - # Check if the current status is not successful - # - # @return [TrueClass,FalseClass] the result of the check - # - # @since 0.9.2 - # - # @deprecated Use {#failure?} instead - def failing? - Utils::Deprecation.new("`Hanami::Interactor::Result#failing?' is deprecated, please use `Hanami::Interactor::Result#failure?'") - failure? - end # Check if the current status is not successful # # @return [TrueClass,FalseClass] the result of the check #