Class: GeoWorks::GeoblacklightEventProcessor::UnknownEvent
- Defined in:
- app/processors/geo_works/geoblacklight_event_processor/unknown_event.rb
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(event) ⇒ UnknownEvent
constructor
A new instance of UnknownEvent.
- #process ⇒ Object
Constructor Details
#initialize(event) ⇒ UnknownEvent
Returns a new instance of UnknownEvent.
5 6 7 |
# File 'app/processors/geo_works/geoblacklight_event_processor/unknown_event.rb', line 5 def initialize(event) @event = event end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
4 5 6 |
# File 'app/processors/geo_works/geoblacklight_event_processor/unknown_event.rb', line 4 def event @event end |
Instance Method Details
#process ⇒ Object
9 10 11 12 |
# File 'app/processors/geo_works/geoblacklight_event_processor/unknown_event.rb', line 9 def process Rails.logger.info("Unable to process event type #{event_type}") false end |