Sha256: 42cedde0a2b320affe48af070ac063648e1639921c70d12ca6d3aa2638cb53f8

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

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