Sha256: 7628d731fc5ee7f6ce3f1637a761857c22756720ac929df57704a1439e89c55a

Contents?: true

Size: 419 Bytes

Versions: 48

Compression:

Stored size: 419 Bytes

Contents

require 'pact/mock_service/request_handlers/base_administration_request_handler'

module Pact
  module MockService
    module RequestHandlers

      class IndexGet < BaseAdministrationRequestHandler

        def request_path
          ''
        end

        def request_method
          'GET'
        end

        def respond env
          text_response('Mock service running')
        end
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
pact-mock_service-3.12.3 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.12.2 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.12.1 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.12.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.11.2 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.11.1 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.11.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.10.0 lib/pact/mock_service/request_handlers/index_get.rb
hs-pact-mock_service-3.9.2 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.9.1 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.9.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.8.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.7.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.6.2 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.6.1 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.6.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.5.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.4.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.3.1 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-3.3.0 lib/pact/mock_service/request_handlers/index_get.rb