Sha256: 74cbd204041bc4bd73a7a37b5edcf2f7362aba6c0d53efb3bb44a5735cf724f7
Contents?: true
Size: 721 Bytes
Versions: 5
Compression:
Stored size: 721 Bytes
Contents
module Githu3 class Repo < Githu3::Resource has_many :contributors, :class_name => :user has_many :watchers, :class_name => :user has_many :forks, :class_name => :repo has_many :teams has_many :tags has_many :commits has_many :refs, :nested_in => :git has_many :trees, :nested_in => :git has_many :branches has_many :issues has_many :events, :nested_in => :issues has_many :labels has_many :milestones has_many :keys has_many :comments # has_many :downloads # not working... always returns an empty body embeds_one :owner, :class_name => :user def to_s [owner, name].join("/") end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
githu3-0.0.8 | lib/githu3/repo.rb |
githu3-0.0.7 | lib/githu3/repo.rb |
githu3-0.0.6 | lib/githu3/repo.rb |
githu3-0.0.5 | lib/githu3/repo.rb |
githu3-0.0.4 | lib/githu3/repo.rb |