Method: Gitlab::Client#inspect

Defined in:
lib/gitlab/client.rb

#inspectString

Text representation of the client, masking private token.



77
78
79
80
81
# File 'lib/gitlab/client.rb', line 77

def inspect
  inspected = super
  inspected.sub! @private_token, only_show_last_four_chars(@private_token) if @private_token
  inspected
end