Sha256: 9f684df911ab9832e5f140b2b997365bc7cdd374f7dbff57df2106a322a4eb8a

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