module BunnyEvent::ClassMethods

Public Instance Methods

event_options(options) click to toggle source

Class method to allow the setting of event options in the message definitions

# File lib/bunny_event.rb, line 10
def event_options(options)
  @options = options
end
options() click to toggle source

Class method for retreiving the data via the `MyMessage.class.options`

# File lib/bunny_event.rb, line 15
def options
  @options
end