debian-mirror-gitlab/lib/github/representation/release.rb
2017-08-17 22:00:37 +05:30

17 lines
248 B
Ruby

module Github
module Representation
class Release < Representation::Base
def description
raw['body']
end
def tag
raw['tag_name']
end
def valid?
!raw['draft']
end
end
end
end