Sha256: 0137ebf6dc40cb568d2bcd2909ddb0928b6388035337623092b59329e5ef7b98

Contents?: true

Size: 658 Bytes

Versions: 2

Compression:

Stored size: 658 Bytes

Contents

# frozen_string_literal: true

module GraphqlDevise
  module Concerns
    module SetUserByToken
      extend ActiveSupport::Concern

      included do
        include DeviseTokenAuth::Concerns::SetUserByToken
        include GraphqlDevise::Concerns::AdditionalControllerMethods

        ActiveSupport::Deprecation.warn(<<-DEPRECATION.strip_heredoc, caller)
          Including GraphqlDevise::Concerns::SetUserByToken is deprecated and will be removed in a future version of
          this gem. Please use GraphqlDevise::SetUserByToken instead.
          EXAMPLE
          include GraphqlDevise::SetUserByToken
        DEPRECATION
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql_devise-0.18.2 app/controllers/graphql_devise/concerns/set_user_by_token.rb
graphql_devise-0.18.1 app/controllers/graphql_devise/concerns/set_user_by_token.rb