Module: BuildEval

Defined in:
lib/build_eval.rb,
lib/build_eval/http.rb,
lib/build_eval/error.rb,
lib/build_eval/travis.rb,
lib/build_eval/version.rb,
lib/build_eval/monitor/base.rb,
lib/build_eval/result/status.rb,
lib/build_eval/monitor/server.rb,
lib/build_eval/server/jenkins.rb,
lib/build_eval/travis/session.rb,
lib/build_eval/server/decorator.rb,
lib/build_eval/server/team_city.rb,
lib/build_eval/monitor/composite.rb,
lib/build_eval/server/travis_org.rb,
lib/build_eval/server/travis_pro.rb,
lib/build_eval/result/build_result.rb,
lib/build_eval/travis/session/pool.rb,
lib/build_eval/result/server_result.rb,
lib/build_eval/travis/session/factory.rb,
lib/build_eval/travis/session/session.rb,
lib/build_eval/result/composite_result.rb,
lib/build_eval/server/invalid_selector_error.rb,
lib/build_eval/server/cruise_control_response.rb

Defined Under Namespace

Modules: Monitor, Result, Server, Travis Classes: Error, Http

Constant Summary collapse

VERSION =
"0.0.16".freeze

Class Method Summary collapse

Class Method Details

.server(args) ⇒ Object


33
34
35
36
37
# File 'lib/build_eval.rb', line 33

def server(args)
  type_args = args.clone
  server_type = type_args.delete(:type)
  BuildEval::Server::Decorator.new(server_class_for(server_type).new(type_args))
end