Sha256: e594c4f339b1bd5f73a35ff0100954351ca5ef2fb4ff988100fe4b4799e5e2f0

Contents?: true

Size: 337 Bytes

Versions: 5

Compression:

Stored size: 337 Bytes

Contents

module Githu3
  class Issue < Githu3::Resource
    
    has_many :events
    has_many :comments
    
    # members
    embeds_many :labels
    embeds_one  :user
    embeds_one  :milestone
    embeds_one  :assignee, :class_name => :user
    
    def _mime_type mt
      "application/vnd.github-issue.#{mt}+json"
    end
        
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
githu3-0.0.8 lib/githu3/issue.rb
githu3-0.0.7 lib/githu3/issue.rb
githu3-0.0.6 lib/githu3/issue.rb
githu3-0.0.5 lib/githu3/issue.rb
githu3-0.0.4 lib/githu3/issue.rb