Class: MingleEvents::Processors::AuthorFilter::AuthorSpec
- Inherits:
-
Object
- Object
- MingleEvents::Processors::AuthorFilter::AuthorSpec
- Defined in:
- lib/mingle_events/processors/author_filter.rb
Instance Method Summary collapse
- #event_triggered_by?(event) ⇒ Boolean
-
#initialize(spec, mingle_access, project_identifier) ⇒ AuthorSpec
constructor
A new instance of AuthorSpec.
Constructor Details
#initialize(spec, mingle_access, project_identifier) ⇒ AuthorSpec
Returns a new instance of AuthorSpec.
21 22 23 24 25 |
# File 'lib/mingle_events/processors/author_filter.rb', line 21 def initialize(spec, mingle_access, project_identifier) @spec = spec @mingle_access = mingle_access @project_identifier = project_identifier end |
Instance Method Details
#event_triggered_by?(event) ⇒ Boolean
27 28 29 |
# File 'lib/mingle_events/processors/author_filter.rb', line 27 def event_triggered_by?(event) event..uri == end |