Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Support project repos api #133

Merged
merged 2 commits into from
Jul 15, 2017
Merged

✨ Support project repos api #133

merged 2 commits into from
Jul 15, 2017

Conversation

hirakiuc
Copy link
Owner

Add project.repos API to enumerate the project's repositories.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 95.188% when pulling 732d9a6 on support_project_repos_api into e3118ee on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 95.188% when pulling 732d9a6 on support_project_repos_api into e3118ee on master.

@hirakiuc
Copy link
Owner Author

This code works for me. 😀

bucket = Tinybucket.new
bucket.teams('admin').each do |team|
  team.projects.each do |project|
    puts project.key
    project.repos.each do |repo|
      puts repo.name
    end
  end
end

@hirakiuc hirakiuc merged commit ada51e9 into master Jul 15, 2017
@hirakiuc hirakiuc deleted the support_project_repos_api branch July 15, 2017 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants