Sha256: a63b7e97c7e4bc1346bde6651566e77f650799f8a6de077e953b2d94dcedd201

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

module OAuth2
  class Version
    MAJOR = 1 unless defined? OAuth2::Version::MAJOR
    MINOR = 1 unless defined? OAuth2::Version::MINOR
    PATCH = 0 unless defined? OAuth2::Version::PATCH

    def self.to_s
      [MAJOR, MINOR, PATCH].compact.join('.')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oauth2-client-1.1.0 lib/oauth2/version.rb