Class: Redmine::IssueEvent

Inherits:
Value
  • Object
show all
Defined in:
lib/redmine/issue_event.rb

Overview

An IssueEvent is a set of changes by a user to an Issue in the system, optionally with some notes. A user might change several properties of a ticket at once, as represented by IssueChange.

Instance Attribute Summary

Attributes inherited from Value

#hash

Instance Method Summary collapse

Methods inherited from Value

attribute, attributes, #eql?, #initialize, parse_value, #to_a, #to_h, #with

Constructor Details

This class inherits a constructor from Redmine::Value

Instance Method Details

#issue_changesObject

List of all changes introduced by this event as IssueChange objects.



17
18
19
20
21
# File 'lib/redmine/issue_event.rb', line 17

def issue_changes
  @details.map do |change|
    IssueChange.new(change)
  end
end