Class: JIRA::Comment
- Inherits:
-
DynamicEntity
- Object
- Entity
- DynamicEntity
- JIRA::Comment
- Defined in:
- lib/jiraSOAP/entities/comment.rb
Overview
Contains a comment's body and metadata.
Instance Attribute Summary collapse
-
#author ⇒ String
Corresponds to
author
in the javadoc. -
#body ⇒ String
Corresponds to
body
in the javadoc. -
#create_time ⇒ Time
Corresponds to
created
in the javadoc. -
#group_level ⇒ String
Corresponds to
groupLevel
in the javadoc. -
#last_updated_time ⇒ Time
Corresponds to
updated
in the javadoc. -
#role_level ⇒ String
Corresponds to
roleLevel
in the javadoc. -
#update_author ⇒ String
Corresponds to
updateAuthor
in the javadoc.
Attributes inherited from DynamicEntity
Instance Method Summary collapse
Methods inherited from Entity
add_attributes, #initialize_with_xml, new_with_xml, #to_soap
Instance Attribute Details
#author ⇒ String
Corresponds to author
in the javadoc.
A username.
#body ⇒ String
Corresponds to body
in the javadoc.
#create_time ⇒ Time
Corresponds to created
in the javadoc.
#group_level ⇒ String
Corresponds to groupLevel
in the javadoc.
#last_updated_time ⇒ Time
Corresponds to updated
in the javadoc.
#role_level ⇒ String
Corresponds to roleLevel
in the javadoc.
#update_author ⇒ String
Corresponds to updateAuthor
in the javadoc.
A username.
Instance Method Details
#soapify_for(msg) ⇒ Handsoap::XmlMason::Node
TODO:
make this method shorter
18 19 20 21 22 23 24 25 |
# File 'lib/jiraSOAP/entities/comment.rb', line 18 def soapify_for(msg) msg.add 'id', @id msg.add 'author', @author msg.add 'body', @body msg.add 'groupLevel', @group_level msg.add 'roleLevel', @role_level msg.add 'updateAuthor', @update_author end |