Sha256: b5f18fd029abdce5251a91e19bcbe1921e89b60f30f85b4cab05f758170ae010

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 Bytes

Contents

# frozen_string_literal: true

module Grape
  module Jwt
    # The gem version details.
    module Authentication
      # The version of the +grape-jwt-authentication+ gem
      VERSION = '2.4.5'

      class << self
        # Returns the version of gem as a string.
        #
        # @return [String] the gem version as string
        def version
          VERSION
        end

        # Returns the version of the gem as a +Gem::Version+.
        #
        # @return [Gem::Version] the gem version as object
        def gem_version
          Gem::Version.new VERSION
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grape-jwt-authentication-2.4.5 lib/grape/jwt/authentication/version.rb