Skip to content

Commit 179ada8

Browse files
author
Neil Bartley
committed
pull_requests instead of pullrequests
1 parent c0145be commit 179ada8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/bitbucket_rest_api/repos.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Repos < API
1414
:Forks => 'forks',
1515
:Commits =>'commits',
1616
:Download=>'download',
17-
:PullRequests => 'pullrequests',
17+
:PullRequests => 'pull_requests'
1818

1919

2020
DEFAULT_REPO_OPTIONS = {
@@ -79,8 +79,8 @@ def download
7979
end
8080

8181
# Access to Repos::PullRequests API
82-
def pullrequests
83-
@pullrequests ||= ApiFactory.new 'Repos::PullRequests'
82+
def pull_requests
83+
@pull_requests ||= ApiFactory.new 'Repos::PullRequests'
8484
end
8585

8686
# List branches

0 commit comments

Comments
 (0)