From af705c3f8c21ab34ba7cde8777b1e29e35b26a4c Mon Sep 17 00:00:00 2001 From: Jonathon Reinhart Date: Thu, 13 Dec 2018 00:01:02 -0500 Subject: Use 'push_options' everywhere instead of 'push_opts' --- lib/gitlab_net.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/gitlab_net.rb') 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) -- cgit v1.2.1