Class: JIRA::Status
- Inherits:
-
Object
- Object
- JIRA::Status
- 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.
Class Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
77 78 79 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 77 def description @description end |
#icon ⇒ Object
Returns the value of attribute icon.
77 78 79 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 77 def icon @icon end |
#id ⇒ Object
Returns the value of attribute id.
77 78 79 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 77 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
77 78 79 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 77 def name @name end |
Class Method Details
.status_with_xml_fragment(frag) ⇒ Object
78 79 80 81 82 83 84 85 86 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 78 def self.status_with_xml_fragment(frag) return if frag.nil? status = Status.new status.id = frag.xpath('id').to_s status.name = frag.xpath('name').to_s status.icon = frag.xpath('icon').to_s #FIXME: NSURL status.description = frag.xpath('description').to_s status end |