Welcome to mirror list, hosted at ThFree Co, Russian Federation.

release.rb « representation « github « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e7e4b428c1a5586f0ed7445d89eb11ddb563901d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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