Module: Rundeck

Extended by:
Configuration
Defined in:
lib/rundeck.rb,
lib/rundeck/api.rb,
lib/rundeck/error.rb,
lib/rundeck/client.rb,
lib/rundeck/request.rb,
lib/rundeck/version.rb,
lib/rundeck/client/job.rb,
lib/rundeck/client/key.rb,
lib/rundeck/configuration.rb,
lib/rundeck/client/execution.rb,
lib/rundeck/objectified_hash.rb

Defined Under Namespace

Modules: Configuration, Error Classes: API, Client, ObjectifiedHash, Request

Constant Summary collapse

VERSION =
'0.0.3'

Constants included from Configuration

Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configuration

api_version, configure, endpoint=, extended, options, reset

Class Method Details

.client(options = {}) ⇒ Rundeck::Client

Alias for Rundeck::Client.new

Returns:



15
16
17
# File 'lib/rundeck.rb', line 15

def self.client(options = {})
  Rundeck::Client.new(options)
end

.method_missing(method, *args, &block) ⇒ Object

Delegate to Gitlab::Client



20
21
22
23
# File 'lib/rundeck.rb', line 20

def self.method_missing(method, *args, &block)
  return super unless client.respond_to?(method)
  client.send(method, *args, &block)
end

.respond_to?(method) ⇒ Boolean

Delegate to Gitlab::Client

Returns:

  • (Boolean)


26
27
28
# File 'lib/rundeck.rb', line 26

def self.respond_to?(method)
  client.respond_to?(method) || super
end