Module: TeamCity
- Extended by:
- Configuration
- Defined in:
- lib/teamcity.rb,
lib/teamcity/api.rb,
lib/teamcity/client.rb,
lib/teamcity/headers.rb,
lib/teamcity/request.rb,
lib/teamcity/version.rb,
lib/teamcity/connection.rb,
lib/teamcity/client/builds.rb,
lib/teamcity/client/common.rb,
lib/teamcity/configuration.rb,
lib/teamcity/client/projects.rb,
lib/teamcity/element_builder.rb,
lib/teamcity/client/vcs_roots.rb,
lib/teamcity/client/build_types.rb
Defined Under Namespace
Modules: Configuration, Connection, Request Classes: API, Client, ElementBuilder, Headers
Constant Summary collapse
- VERSION =
'1.3.1'
Constants included from Configuration
Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_FORMAT, Configuration::DEFAULT_HTTP_PASSWORD, Configuration::DEFAULT_HTTP_USER, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.client(options = {}) ⇒ TeamCity::Client
Alias for TeamCity::Client.new.
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to TeamCity::Client.
-
.respond_to?(method) ⇒ Boolean
Delegate to TeamCity::Client.
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.client(options = {}) ⇒ TeamCity::Client
Alias for TeamCity::Client.new
12 13 14 |
# File 'lib/teamcity.rb', line 12 def self.client(={}) TeamCity::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to TeamCity::Client
17 18 19 20 |
# File 'lib/teamcity.rb', line 17 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 TeamCity::Client
23 24 25 |
# File 'lib/teamcity.rb', line 23 def self.respond_to?(method) return client.respond_to?(method) || super end |