Commit b1dc1cf1 authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch 'refactor/zentao_query/narrow_scope_of_method' into 'master'

Make attr_reader in `Gitlab::Zentao::Query` private

See merge request gitlab-org/gitlab!72569
parents dc1749af c92d2b45
...@@ -7,8 +7,6 @@ module Gitlab ...@@ -7,8 +7,6 @@ module Gitlab
ISSUES_DEFAULT_LIMIT = 20 ISSUES_DEFAULT_LIMIT = 20
ISSUES_MAX_LIMIT = 50 ISSUES_MAX_LIMIT = 50
attr_reader :client, :params
def initialize(integration, params) def initialize(integration, params)
@client = Client.new(integration) @client = Client.new(integration)
@params = params @params = params
...@@ -32,6 +30,8 @@ module Gitlab ...@@ -32,6 +30,8 @@ module Gitlab
private private
attr_reader :client, :params
def query_options def query_options
{ {
order: query_order, order: query_order,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment