Sha256: ffb156d440efa952913c26347fdef043f3b11c37ef0e28e8fffdc3c75d403e77

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

module Mnemosyne
  module Probes
    module Restify
      module Base
        class Probe < ::Mnemosyne::Probe
          def setup
            require 'mnemosyne/middleware/restify'

            ::Restify::Adapter::Base.prepend ::Mnemosyne::Middleware::Restify
          end
        end
      end
    end

    register 'Restify::Adapter::Base',
      'restify/adapter/base',
      Restify::Base::Probe.new
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mnemosyne-ruby-1.1.0 lib/mnemosyne/probes/restify/base.rb
mnemosyne-ruby-1.1.0.rc1 lib/mnemosyne/probes/restify/base.rb
mnemosyne-ruby-1.0.1 lib/mnemosyne/probes/restify/base.rb
mnemosyne-ruby-1.0.0 lib/mnemosyne/probes/restify/base.rb