Sha256: 34219e7cf6423a88ff592476732f7aed6828d2319f9523c7f585de05dab8c99c

Contents?: true

Size: 573 Bytes

Versions: 3

Compression:

Stored size: 573 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module HasNegatedJSendResult
        module Concern
          include Support::Concern

          instance_methods do
            ##
            # @return [ConvenientService::Service::Plugins::HasJSendResult::Entities::Result]
            # @note Users may override this method to provide custom `negataed_result` behavior.
            #
            def negated_result
              result.negated_result
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/service/plugins/has_negated_j_send_result/concern.rb
convenient_service-0.19.0 lib/convenient_service/service/plugins/has_negated_j_send_result/concern.rb
convenient_service-0.18.0 lib/convenient_service/service/plugins/has_negated_j_send_result/concern.rb