Class: JIRA::Comment
- Inherits:
-
DynamicEntity
- Object
- Entity
- DynamicEntity
- JIRA::Comment
- Defined in:
- lib/jiraSOAP/entities/comment.rb
Overview
Contains a comments body and its metadata.
Instance Attribute Summary collapse
-
#author ⇒ String
A username.
- #body ⇒ String
- #create_time ⇒ Time
- #group_level ⇒ String
- #last_updated_time ⇒ Time
- #role_level ⇒ String
-
#update_author ⇒ String
A username.
Attributes inherited from DynamicEntity
Instance Method Summary collapse
Methods inherited from Entity
add_attributes, #initialize_with_xml, new_with_xml
Instance Attribute Details
#author ⇒ String
Returns a username.
14 15 16 |
# File 'lib/jiraSOAP/entities/comment.rb', line 14 def end |
#body ⇒ String
23 24 25 |
# File 'lib/jiraSOAP/entities/comment.rb', line 23 def body @body end |
#create_time ⇒ Time
26 27 28 |
# File 'lib/jiraSOAP/entities/comment.rb', line 26 def create_time @create_time end |
#group_level ⇒ String
20 21 22 |
# File 'lib/jiraSOAP/entities/comment.rb', line 20 def group_level @group_level end |
#last_updated_time ⇒ Time
29 30 31 |
# File 'lib/jiraSOAP/entities/comment.rb', line 29 def last_updated_time @last_updated_time end |
#role_level ⇒ String
17 18 19 |
# File 'lib/jiraSOAP/entities/comment.rb', line 17 def role_level @role_level end |
#update_author ⇒ String
Returns a username.
32 33 34 |
# File 'lib/jiraSOAP/entities/comment.rb', line 32 def end |
Instance Method Details
#soapify_for(msg) ⇒ Handsoap::XmlMason::Node
TODO:
make this method shorter
37 38 39 40 41 42 43 44 |
# File 'lib/jiraSOAP/entities/comment.rb', line 37 def soapify_for(msg) msg.add 'id', @id msg.add 'author', msg.add 'body', @body msg.add 'groupLevel', @group_level msg.add 'roleLevel', @role_level msg.add 'updateAuthor', end |