class MingleEvents::Processors::AuthorFilter::AuthorSpec
Public Class Methods
new(spec, mingle_access, project_identifier)
click to toggle source
# File lib/mingle_events/processors/author_filter.rb 21 def initialize(spec, mingle_access, project_identifier) 22 @spec = spec 23 @mingle_access = mingle_access 24 @project_identifier = project_identifier 25 end
Public Instance Methods
event_triggered_by?(event)
click to toggle source
# File lib/mingle_events/processors/author_filter.rb 27 def event_triggered_by?(event) 28 event.author.uri == author_uri 29 end