Class: JIRA::Resolution
- Inherits:
-
Object
- Object
- JIRA::Resolution
- 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.
18 19 20 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 18 def description @description end |
#icon ⇒ Object
Returns the value of attribute icon.
18 19 20 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 18 def icon @icon end |
#id ⇒ Object
Returns the value of attribute id.
18 19 20 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 18 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
18 19 20 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 18 def name @name end |
Class Method Details
.resolution_with_xml_fragment(frag) ⇒ Object
19 20 21 22 23 24 25 26 27 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 19 def self.resolution_with_xml_fragment(frag) return if frag.nil? resolution = Resolution.new resolution.id = frag.xpath('id').to_s resolution.name = frag.xpath('name').to_s resolution.icon = frag.xpath('icon').to_s #FIXME: NSURL resolution.description = frag.xpath('description').to_s resolution end |