Class: HttpStub::Server::Memory::Controller

Inherits:
Object
  • Object
show all
Defined in:
lib/http_stub/server/memory/controller.rb

Instance Method Summary collapse

Constructor Details

#initialize(server_memory) ⇒ Controller

Returns a new instance of Controller.


7
8
9
# File 'lib/http_stub/server/memory/controller.rb', line 7

def initialize(server_memory)
  @server_memory = server_memory
end

Instance Method Details

#find_stubsObject


11
12
13
# File 'lib/http_stub/server/memory/controller.rb', line 11

def find_stubs
  @server_memory.stubs
end