Module: Euston::EventHandlerPrivateMethodNames::ClassMethods
- Defined in:
- lib/euston/event_handler_private_method_names.rb
Instance Method Summary collapse
- #event_handler_method_name(type, version) ⇒ Object
- #id_from_event_method_name(type, version) ⇒ Object
Instance Method Details
#event_handler_method_name(type, version) ⇒ Object
10 11 12 |
# File 'lib/euston/event_handler_private_method_names.rb', line 10 def event_handler_method_name type, version "__event_handler__#{type}__#{version}" end |
#id_from_event_method_name(type, version) ⇒ Object
6 7 8 |
# File 'lib/euston/event_handler_private_method_names.rb', line 6 def id_from_event_method_name type, version "__id_from_event_#{type}__v#{version}__" end |