debian-mirror-gitlab/lib/github/representation/release.rb

18 lines
248 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
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