Sha256: 53b4aa397ad310f0e51d7732b53010384be240694ced284aede7779c27b97b87
Contents?: true
Size: 289 Bytes
Versions: 3
Compression:
Stored size: 289 Bytes
Contents
require "octogate/gh/user" module Octogate class GH::Issue < Model coerce_key :user, GH::User coerce_key :assignee, GH::User def initialize(*args) super self.labels = labels.nil? ? [] : labels.map do |l| GH::Label.new(l) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
octogate-0.4.0 | lib/octogate/gh/issue.rb |
octogate-0.3.0 | lib/octogate/gh/issue.rb |
octogate-0.2.2 | lib/octogate/gh/issue.rb |