Sha256: 18bf626382485c5b6964e141e148265e2407417d806806717d3b3b4c731e8acb

Contents?: true

Size: 348 Bytes

Versions: 23

Compression:

Stored size: 348 Bytes

Contents

module Euston
  module EventHandlerPrivateMethodNames
    extend ActiveSupport::Concern

    module ClassMethods
      def id_from_event_method_name type, version
        "__id_from_event_#{type}__v#{version}__"
      end

      def event_handler_method_name type, version
        "__event_handler__#{type}__#{version}"
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
euston-1.2.10 lib/euston/event_handler_private_method_names.rb
euston-1.2.10-java lib/euston/event_handler_private_method_names.rb
euston-1.2.9-java lib/euston/event_handler_private_method_names.rb
euston-1.2.9 lib/euston/event_handler_private_method_names.rb
euston-1.2.8 lib/euston/event_handler_private_method_names.rb
euston-1.2.8-java lib/euston/event_handler_private_method_names.rb
euston-1.2.7-java lib/euston/event_handler_private_method_names.rb
euston-1.2.7 lib/euston/event_handler_private_method_names.rb
euston-1.2.6 lib/euston/event_handler_private_method_names.rb
euston-1.2.5-java lib/euston/event_handler_private_method_names.rb
euston-1.2.5 lib/euston/event_handler_private_method_names.rb
euston-1.2.4-java lib/euston/event_handler_private_method_names.rb
euston-1.2.4 lib/euston/event_handler_private_method_names.rb
euston-1.2.3 lib/euston/event_handler_private_method_names.rb
euston-1.2.3-java lib/euston/event_handler_private_method_names.rb
euston-1.2.2 lib/euston/event_handler_private_method_names.rb
euston-1.2.2-java lib/euston/event_handler_private_method_names.rb
euston-1.2.1 lib/euston/event_handler_private_method_names.rb
euston-1.2.1-java lib/euston/event_handler_private_method_names.rb
euston-1.2.0 lib/euston/event_handler_private_method_names.rb