Sha256: 44f0b05cf6a71428e19ef8c227e27e668c2ccc8123302a810d267b2b2dd6bde0

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.2.0'

      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.2.0 lib/grape/jwt/authentication/version.rb