Class: Octoplex::Client::User

Inherits:
Base
  • Object
show all
Defined in:
lib/octoplex/client/user.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Octoplex::Client::Base

Instance Method Details

#repos(repo) ⇒ Object

GET /repos/:user/:repo



6
7
8
# File 'lib/octoplex/client/user.rb', line 6

def repos(repo)
  Octoplex::Client::Repository.new(client, "/repos/#{}/#{repo}")
end