Class: GeoWorks::GeoblacklightEventProcessor::UnknownEvent

Inherits:
Processor
  • Object
show all
Defined in:
app/processors/geo_works/geoblacklight_event_processor/unknown_event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#eventObject (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

#processObject



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