Class: Itchy::EventHandlers::SubscriptionImageNewEventHandler

Inherits:
BaseEventHandler
  • Object
show all
Defined in:
lib/itchy/event_handlers/subscription_image_new_event_handler.rb

Overview

Handler for SubscriptionImageNew event (new image added to image list).

Constant Summary

Constants inherited from BaseEventHandler

BaseEventHandler::EVENT_FILE_REGEXP, BaseEventHandler::TEMPFILE_BASE

Instance Attribute Summary

Attributes inherited from BaseEventHandler

#options, #vmcatcher_configuration

Instance Method Summary collapse

Methods inherited from BaseEventHandler

#archive!, #initialize, #save_descriptor, #set_file_permissions

Constructor Details

This class inherits a constructor from Itchy::EventHandlers::BaseEventHandler

Instance Method Details

#handle!(vmcatcher_event, event_file) ⇒ Object



4
5
6
7
# File 'lib/itchy/event_handlers/subscription_image_new_event_handler.rb', line 4

def handle!(vmcatcher_event, event_file)
  super
  Itchy::Log.warn "[#{self.class.name}] Just ignoring #{vmcatcher_event.type.inspect}"
end