gitlab-org--gitlab-foss/lib/github/representation/release.rb
Douglas Barbosa Alexandre 3c0a713a37 Import Github releases
2017-04-24 16:17:52 -03:00

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