module HttpStub::Server::Application::Routes::Memory
Public Class Methods
included(application)
click to toggle source
# File lib/http_stub/server/application/routes/memory.rb, line 13 def self.included(application) application.instance_eval do namespace "/http_stub/memory" do get do haml :stubs, {}, stubs: @memory_controller.find_stubs end end end end
new()
click to toggle source
Calls superclass method
# File lib/http_stub/server/application/routes/memory.rb, line 8 def initialize super() @memory_controller = HttpStub::Server::Memory::Controller.new(@server_memory) end