Module: HttpStub::Server::Application::Routes::Status

Included in:
Application
Defined in:
lib/http_stub/server/application/routes/status.rb

Class Method Summary collapse

Class Method Details

.included(application) ⇒ Object


8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/http_stub/server/application/routes/status.rb', line 8

def self.included(application)
  application.instance_eval do

    namespace "/http_stub/status" do

      get do
        halt 200, "OK"
      end

    end

  end
end