Commit 411d0a93 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre Committed by Stan Hu

Add an endpoint to get a single user repository

parent 6418c6f8
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment