Class: JIRA::Version
- Inherits:
-
NamedEntity
- Object
- Entity
- DynamicEntity
- NamedEntity
- JIRA::Version
- Defined in:
- lib/jiraSOAP/entities/version.rb
Overview
TODO:
find out why we don't get a description for this object
Represents a version for a project. The description field is never included when you retrieve versions from the server.
Instance Attribute Summary collapse
-
#archived ⇒ Boolean
Corresponds to
archived
in the javadoc. -
#release_date ⇒ Time
Corresponds to
releaseDate
in the javadoc. -
#released ⇒ Boolean
Corresponds to
released
in the javadoc. -
#sequence ⇒ Fixnum
Corresponds to
sequence
in the javadoc.
Attributes inherited from NamedEntity
Attributes inherited from DynamicEntity
Instance Method Summary collapse
-
#archived? ⇒ Boolean
Corresponds to
archived
in the javadoc. -
#released? ⇒ Boolean
Corresponds to
released
in the javadoc. - #soapify_for(msg) ⇒ Handsoap::XmlMason::Node
Methods inherited from Entity
add_attributes, #initialize_with_xml, new_with_xml, #to_soap
Instance Attribute Details
#archived ⇒ Boolean
Corresponds to archived
in the javadoc.
#release_date ⇒ Time
Corresponds to releaseDate
in the javadoc.
#released ⇒ Boolean
Corresponds to released
in the javadoc.
#sequence ⇒ Fixnum
Corresponds to sequence
in the javadoc.
Instance Method Details
#archived? ⇒ Boolean
Corresponds to archived
in the javadoc.
#released? ⇒ Boolean
Corresponds to released
in the javadoc.
#soapify_for(msg) ⇒ Handsoap::XmlMason::Node
TODO:
make this method shorter
15 16 17 18 19 20 21 |
# File 'lib/jiraSOAP/entities/version.rb', line 15 def soapify_for(msg) msg.add 'name', @name msg.add 'archived', @archived unless @archived.nil? msg.add 'sequence', @sequence unless @sequence.nil? msg.add 'releaseDate', @release_date.xmlschema unless @release_date.nil? msg.add 'released', @released unless @released.nil? end |