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

14 lines
195 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module Github
module Representation
class Label < Representation::Base
def color
"##{raw['color']}"
end
def title
raw['name']
end
end
end
end