Class: JIRA::Priority
- Inherits:
-
Object
- Object
- JIRA::Priority
- Defined in:
- lib/jiraSOAP/remoteEntities.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#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
#color ⇒ Object
Returns the value of attribute color.
4 5 6 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 4 def color @color end |
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 4 def description @description end |
#icon ⇒ Object
Returns the value of attribute icon.
4 5 6 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 4 def icon @icon end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 4 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 4 def name @name end |
Class Method Details
.priority_with_xml_fragment(frag) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 5 def self.priority_with_xml_fragment(frag) return if frag.nil? priority = Priority.new priority.id = frag.xpath('id').to_s priority.name = frag.xpath('name').to_s priority.color = frag.xpath('color').to_s #PONDER: hex priority.icon = frag.xpath('icon').to_s #FIXME: NSURL priority.description = frag.xpath('description').to_s priority end |