Sha256: f780432e1e160782b5e137a39771095fd8f82224e11a827adeb46e47fe7dad02

Contents?: true

Size: 379 Bytes

Versions: 15

Compression:

Stored size: 379 Bytes

Contents

module DispatchRider
  module Handlers
    class Base
      include NamedProcess
      extend InheritanceTracking

      def do_process(options)
        with_named_process(self.class.name) do
          process(options)
        end
      end

      def process(options)
        raise NotImplementedError, "Method 'process' not overridden in subclass!"
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dispatch-rider-1.0.3 lib/dispatch-rider/handlers/base.rb
dispatch-rider-1.0.2 lib/dispatch-rider/handlers/base.rb
dispatch-rider-1.0.1 lib/dispatch-rider/handlers/base.rb
dispatch-rider-1.0.0 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.2.7 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.2.6 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.2.5 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.2.4 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.2.3 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.2.2 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.2.1 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.2.0 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.1.2 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.1.1.1 lib/dispatch-rider/handlers/base.rb
dispatch-rider-0.1.0 lib/dispatch-rider/handlers/base.rb