Class: JIRA::Project
- Inherits:
-
Object
- Object
- JIRA::Project
- Defined in:
- lib/jiraSOAP/remoteEntities.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#issue_security_scheme ⇒ Object
Returns the value of attribute issue_security_scheme.
-
#key ⇒ Object
Returns the value of attribute key.
-
#lead ⇒ Object
Returns the value of attribute lead.
-
#name ⇒ Object
Returns the value of attribute name.
-
#notification_scheme ⇒ Object
Returns the value of attribute notification_scheme.
-
#permission_scheme ⇒ Object
Returns the value of attribute permission_scheme.
-
#project_url ⇒ Object
Returns the value of attribute project_url.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
133 134 135 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 133 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
133 134 135 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 133 def id @id end |
#issue_security_scheme ⇒ Object
Returns the value of attribute issue_security_scheme.
134 135 136 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 134 def issue_security_scheme @issue_security_scheme end |
#key ⇒ Object
Returns the value of attribute key.
133 134 135 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 133 def key @key end |
#lead ⇒ Object
Returns the value of attribute lead.
133 134 135 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 133 def lead @lead end |
#name ⇒ Object
Returns the value of attribute name.
133 134 135 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 133 def name @name end |
#notification_scheme ⇒ Object
Returns the value of attribute notification_scheme.
134 135 136 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 134 def notification_scheme @notification_scheme end |
#permission_scheme ⇒ Object
Returns the value of attribute permission_scheme.
134 135 136 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 134 def @permission_scheme end |
#project_url ⇒ Object
Returns the value of attribute project_url.
133 134 135 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 133 def project_url @project_url end |
#url ⇒ Object
Returns the value of attribute url.
133 134 135 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 133 def url @url end |
Class Method Details
.project_with_xml_fragment(frag) ⇒ Object
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 135 def self.project_with_xml_fragment(frag) return if frag.nil? project = Project.new project.id = frag.xpath('id').to_s project.name = frag.xpath('name').to_s project.key = frag.xpath('key').to_s project.url = frag.xpath('url').to_s #FIXME: NSURL project.project_url = frag.xpath('projectUrl').to_s #FIXME: NSURL project.lead = frag.xpath('lead').to_s project.description = frag.xpath('description').to_s #TODO: find out why the server always seems to pass nil project.issue_security_scheme = Scheme.scheme_with_xml_fragment frag.xpath 'issueSecurityScheme' project.notification_scheme = Scheme.scheme_with_xml_fragment frag.xpath 'notificationScheme' project. = Scheme.scheme_with_xml_fragment frag.xpath 'permissionScheme' project end |