Sha256: a05215fa648ef93e564b2707421da1d660f03297e931cc8515197c5f363ab5a8
Contents?: true
Size: 870 Bytes
Versions: 3
Compression:
Stored size: 870 Bytes
Contents
require File.expand_path('../gitlab/version', __FILE__) require File.expand_path('../gitlab/objectified_hash', __FILE__) require File.expand_path('../gitlab/configuration', __FILE__) require File.expand_path('../gitlab/error', __FILE__) require File.expand_path('../gitlab/request', __FILE__) require File.expand_path('../gitlab/api', __FILE__) require File.expand_path('../gitlab/client', __FILE__) module Gitlab extend Configuration # Alias for Gitlab::Client.new # # @return [Gitlab::Client] def self.client(options={}) Gitlab::Client.new(options) end # Delegate to Gitlab::Client def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end # Delegate to Gitlab::Client def self.respond_to?(method) return client.respond_to?(method) || super end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gitlab-2.2.0 | lib/gitlab.rb |
gitlab-2.1.0 | lib/gitlab.rb |
gitlab-2.0.0 | lib/gitlab.rb |