Sha256: 0be7b6433cb96081d3ca9b1182a2097c54aa61c579d9cc13a4acaadc93bfeda4

Contents?: true

Size: 447 Bytes

Versions: 32

Compression:

Stored size: 447 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
          [200, {'Content-Type' => 'text/plain'}, ['Mock service running']]
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
pact-mock_service-2.2.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-2.1.1.pre.alpha.2 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-2.1.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-2.0.1 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-2.0.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-1.2.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-1.1.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-1.0.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.12.1 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.12.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.11.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.10.2 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.10.1 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.10.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.9.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.8.2 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.8.1 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.8.0 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.7.2 lib/pact/mock_service/request_handlers/index_get.rb
pact-mock_service-0.7.1 lib/pact/mock_service/request_handlers/index_get.rb