module Gitlab
Constants
- VERSION
Public Class Methods
Source
# File lib/gitlab.rb, line 52 def self.actions # rubocop:disable Layout/LineLength hidden = /endpoint|private_token|auth_token|user_agent|sudo|get|post|put|patch|\Adelete\z|validate\z|request_defaults|httparty/ # rubocop:enable Layout/LineLength (Gitlab::Client.instance_methods - Object.methods).reject { |e| e[hidden] } end
Returns an unsorted array of available client methods.
@return [Array<Symbol>]
Source
# File lib/gitlab.rb, line 21 def self.client(options = {}) Gitlab::Client.new(options) end
Alias for Gitlab::Client.new
@return [Gitlab::Client]
Source
# File lib/gitlab.rb, line 45 def self.http_proxy(address = nil, port = nil, username = nil, password = nil) Gitlab::Request.http_proxy(address, port, username, password) end
Delegate to HTTParty.http_proxy
Source
# File lib/gitlab.rb, line 26 def self.method_missing(method, *args, **keywargs, &block) return super unless client.respond_to?(method) client.send(method, *args, **keywargs, &block) end
Calls superclass method
Source
# File lib/gitlab.rb, line 40 def self.respond_to_missing?(method_name, include_private = false) client.respond_to?(method_name) || super end
Delegate to Gitlab::Client
Calls superclass method