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

14 lines
195 B
Ruby
Raw Normal View History

module Github
module Representation
class Label < Representation::Base
def color
"##{raw['color']}"
end
def title
raw['name']
end
end
end
end