Skip to content
Snippets Groups Projects
Commit 411d0a93 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre Committed by Stan Hu
Browse files

Add an endpoint to get a single user repository

parent 6418c6f8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,6 +5,11 @@ module Bitbucket
end
 
 
def repo(name)
parsed_response = connection.get("/repositories/#{name}")
Representation::Repo.new(parsed_response)
end
def repos
relative_path = "/repositories/#{user.username}"
paginator = Paginator.new(connection, relative_path, :repo)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment