module YammerOAuth2 class Version MAJOR = 0 unless defined? MAJOR MINOR = 1 unless defined? MINOR PATCH = 0 unless defined? PATCH def self.to_s [MAJOR, MINOR, PATCH].compact.join('.') end end end