Method: Jira4R::Server.connect_to

Defined in:
lib/jira4r/server.rb

.connect_to(*args) ⇒ Object



3
4
5
6
7
8
# File 'lib/jira4r/server.rb', line 3

def self.connect_to(*args)
  options = args.extract_options!
  server = self.new("2",options[:host])
  server.(options[:username], options[:password]) if server
  server
end