Class: Octoplex::Client::Users

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

#reposObject

GET /users/:user/ def repos

Octoplex::API::Repository.all
# get("/user/#{login}/repos")

end



23
24
25
# File 'lib/octoplex/client/user.rb', line 23

def repos
  Octoplex::API::Repository.new(, self, get("/users/repos"))
end