summaryrefslogtreecommitdiff
path: root/lib/github/representation/label.rb
blob: 60aa51f9569a076fb8663fd43be1552ca7376869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Github
  module Representation
    class Label < Representation::Base
      def color
        "##{raw['color']}"
      end

      def title
        raw['name']
      end
    end
  end
end