Class: JIRA::Project

Inherits:
DescribedEntity show all
Defined in:
lib/jiraSOAP/entities/project.rb

Overview

Contains the data and metadata about a project and its configuration.

Instance Attribute Summary collapse

Attributes inherited from DescribedEntity

#description

Attributes inherited from NamedEntity

#name

Attributes inherited from DynamicEntity

#id

Instance Method Summary collapse

Methods inherited from Entity

add_attributes, #initialize_with_xml, new_with_xml, #to_soap

Instance Attribute Details

#issue_security_schemeJIRA::IssueSecurityScheme

Corresponds to issueSecurityScheme in the javadoc.

#jira_urlURI::HTTP,NSURL

Corresponds to url in the javadoc.

Returns:

#keyString

Corresponds to key in the javadoc.

Returns:

  • (String)

#lead_usernameString

Corresponds to lead in the javadoc.

Returns:

  • (String)

#notification_schemeJIRA::IssueSecurityScheme

Corresponds to notificationScheme in the javadoc.

#permission_schemeJIRA::IssueSecurityScheme

Corresponds to permissionScheme in the javadoc.

#project_urlURI::HTTP,NSURL

Corresponds to projectUrl in the javadoc.

Returns:

Instance Method Details

#soapify_for(msg) ⇒ Handsoap::XmlMason::Node

TODO:

make this method shorter

TODO:

encode the schemes

Parameters:

Returns:



17
18
19
20
21
22
23
24
25
# File 'lib/jiraSOAP/entities/project.rb', line 17

def soapify_for(msg)
  msg.add 'id', @id
  msg.add 'name', @name
  msg.add 'key', @key
  msg.add 'url', @jira_url
  msg.add 'projectUrl', @project_url
  msg.add 'lead', @lead_username
  msg.add 'description', @description
end