Class: Jira4R::Server

Inherits:
JiraTool show all
Defined in:
lib/jira4r/server.rb

Instance Attribute Summary

Attributes inherited from JiraTool

#enhanced

Class Method Summary collapse

Methods inherited from JiraTool

#call_driver, #driver, #findEntityInPermissionMapping, #findPermission, #getGroup, #getNotificationScheme, #getPermission, #getPermissionScheme, #getProject, #getProjectByKey, #getProjectNoScheme, #getProjectNoSchemes, #getProjectRoleByName, #http_auth, #initialize, #logger=, #login, #setPermissions, #token, #wiredump_file_base=

Constructor Details

This class inherits a constructor from Jira4R::JiraTool

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Jira4R::JiraTool

Class Method Details

.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