diff options
Diffstat (limited to 'lib/gitlab_net.rb')
-rw-r--r-- | lib/gitlab_net.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab_net.rb b/lib/gitlab_net.rb index a0e1f12..de262d8 100644 --- a/lib/gitlab_net.rb +++ b/lib/gitlab_net.rb @@ -119,12 +119,12 @@ class GitlabNet # rubocop:disable Metrics/ClassLength false end - def post_receive(gl_repository, identifier, changes, push_opts) + def post_receive(gl_repository, identifier, changes, push_options) params = { gl_repository: gl_repository, identifier: identifier, changes: changes, - :"push_opts[]" => push_opts, # ruby <2.2 syntax + :"push_options[]" => push_options, # ruby <2.2 syntax } resp = post("#{internal_api_endpoint}/post_receive", params) |