Class: JIRA::Worklog
Overview
Contains the data and metadata for a remote worklog.
Instance Method Summary
collapse
#description
Methods inherited from NamedEntity
#name
#id
Methods inherited from Entity
add_attribute, inherited, #initialize_with_xml, new_with_xml
Instance Method Details
6
|
# File 'lib/jiraSOAP/entities/worklog.rb', line 6
add_attribute :comment, 'comment', :content
|
16
17
18
19
20
|
# File 'lib/jiraSOAP/entities/worklog.rb', line 16
def soapify_for msg
msg.add 'comment', @comment
msg.add 'startDate', @start_date
msg.add 'timeSpent', @time_spent
end
|
#start_date ⇒ Time
9
|
# File 'lib/jiraSOAP/entities/worklog.rb', line 9
add_attribute :start_date, 'startDate', :to_iso_date
|
#time_spent ⇒ String
12
|
# File 'lib/jiraSOAP/entities/worklog.rb', line 12
add_attribute :time_spent, 'timeSpent', :content
|