lib/gitea/api/hat/repository.rb in gitea-client-1.3.1 vs lib/gitea/api/hat/repository.rb in gitea-client-1.3.2

- old
+ new

@@ -52,9 +52,13 @@ def get_repos_branch_name_set_by_owner_repo(owner, repo, opt = {}) @http.get("/repos/#{owner}/#{repo}/branch_name_set", opt) end + def get_repos_branches_by_owner_repo(owner, repo, opt={}) + @http.get("/repos/#{owner}/#{repo}/branches", opt) + end + def get_repos_branches_branches_slice_by_owner_repo(owner, repo, opt = {}) @http.get("/repos/#{owner}/#{repo}/branches/branches_slice", opt) end def get_repos_tag_name_set_by_owner_repo(owner, repo, opt = {}) \ No newline at end of file