lib/octopi/repository.rb in fcoury-octopi-0.0.11 vs lib/octopi/repository.rb in fcoury-octopi-0.1.0
- old
+ new
@@ -15,10 +15,10 @@
# Example:
# repo = Repository.find("fcoury", "octopi")
# repo.branches.each { |r| puts r.name }
#
def branches
- Branch.find(self.owner, self.name)
+ Branch.find(self.owner, self.name,api)
end
# Returns all tags for the Repository
#
# Example: