Class: JIRA::Component
- Inherits:
-
Object
- Object
- JIRA::Component
- Defined in:
- lib/jiraSOAP/remoteEntities.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
122 123 124 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 122 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
122 123 124 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 122 def name @name end |
Class Method Details
.component_with_xml_fragment(frag) ⇒ Object
123 124 125 126 127 128 129 |
# File 'lib/jiraSOAP/remoteEntities.rb', line 123 def self.component_with_xml_fragment(frag) return if frag.nil? component = Component.new component.id = frag.xpath('id').to_s component.name = frag.xpath('name').to_s component end |