module Poisol

Constants

VERSION

Public Instance Methods

load(folder) click to toggle source
# File lib/poisol.rb, line 14
def load folder
  StubFactory.new.build folder 
end
reset_data() click to toggle source
# File lib/poisol.rb, line 18
def reset_data
  Stubs.reset
end
start(param={:at_port=>3030}) click to toggle source
# File lib/poisol.rb, line 9
def start (param={:at_port=>3030})
  Server.start param[:at_port]
  reset_data
end
stop() click to toggle source
# File lib/poisol.rb, line 22
def stop
  Server.stop
  reset_data
end
wasted() click to toggle source
# File lib/poisol.rb, line 27
def wasted
  Stubs.unused
end