gitlab-org--gitlab-foss/lib/github/representation/release.rb

18 lines
248 B
Ruby
Raw Normal View History

2017-04-19 20:18:11 -04:00
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