We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88bbcc9 commit b7e0d4eCopy full SHA for b7e0d4e
lib/bitbucket_rest_api/repos.rb
@@ -72,10 +72,10 @@ def forks
72
@forks ||= ApiFactory.new 'Repos::Forks'
73
end
74
def commits
75
- @services ||=ApiFactory.new 'Repos::Commits'
+ @commits ||=ApiFactory.new 'Repos::Commits'
76
77
def download
78
- @services ||=ApiFactory.new "Repos::Download"
+ @download ||=ApiFactory.new "Repos::Download"
79
80
81
# Access to Repos::PullRequests API
spec/bitbucket_rest_api/repos_spec.rb
@@ -151,6 +151,7 @@
151
expect(repo.commits).to be_a BitBucket::Repos::Commits
152
expect(repo.pull_request).to be_a BitBucket::Repos::PullRequest
153
expect(repo.forks).to be_a BitBucket::Repos::Forks
154
+ expect(repo.download).to be_a BitBucket::Repos::Download
155
156
157
0 commit comments