Class: JIRA::IssueType
- Inherits:
-
Object
- Object
- JIRA::IssueType
- Defined in:
- lib/jiraSOAP/remoteEntities.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#icon ⇒ Object
Returns the value of attribute icon.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#subtask ⇒ Object
writeonly
Sets the attribute subtask.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
61 62 63 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 61 def description @description end |
#icon ⇒ Object
Returns the value of attribute icon.
61 62 63 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 61 def icon @icon end |
#id ⇒ Object
Returns the value of attribute id.
61 62 63 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 61 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
61 62 63 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 61 def name @name end |
#subtask=(value) ⇒ Object (writeonly)
Sets the attribute subtask
62 63 64 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 62 def subtask=(value) @subtask = value end |
Class Method Details
.issue_type_with_xml_fragment(frag) ⇒ Object
64 65 66 67 68 69 70 71 72 73 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 64 def self.issue_type_with_xml_fragment(frag) return if frag.nil? issue_type = IssueType.new issue_type.id = frag.xpath('id').to_s issue_type.name = frag.xpath('name').to_s issue_type.icon = frag.xpath('icon').to_s #FIXME: NSURL issue_type.subtask = frag.xpath('subtask').to_s == 'true' issue_type.description = frag.xpath('description').to_s issue_type end |
Instance Method Details
#subtask? ⇒ Boolean
63 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 63 def subtask?; @subtask; end |