Sha256: 91157fb7082da611986d9f3d55cc4fde9cb0c06e4c8256f07b891f59c948c9f7

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 = 2 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.2 lib/oauth2/version.rb