Sha256: c883fa4f6306fe46d1324f3efd480e594be68bb5f40bb71193feb57ca8631b44

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