Class: JIRA::Comment

Inherits:
DynamicEntity show all
Defined in:
lib/jiraSOAP/entities/comment.rb

Overview

Contains a comment's body and metadata.

Instance Attribute Summary collapse

Attributes inherited from DynamicEntity

#id

Instance Method Summary collapse

Methods inherited from Entity

add_attributes, #initialize_with_xml, new_with_xml, #to_soap

Instance Attribute Details

#authorString

Corresponds to author in the javadoc.

A username.

Returns:

  • (String)

#bodyString

Corresponds to body in the javadoc.

Returns:

  • (String)

#create_timeTime

Corresponds to created in the javadoc.

Returns:

  • (Time)

#group_levelString

Corresponds to groupLevel in the javadoc.

Returns:

  • (String)

#last_updated_timeTime

Corresponds to updated in the javadoc.

Returns:

  • (Time)

#role_levelString

Corresponds to roleLevel in the javadoc.

Returns:

  • (String)

#update_authorString

Corresponds to updateAuthor in the javadoc.

A username.

Returns:

  • (String)

Instance Method Details

#soapify_for(msg) ⇒ Handsoap::XmlMason::Node

TODO:

make this method shorter

Parameters:

Returns:



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