class RasperClient::FakeServer

Attributes

last_added_report[RW]
last_generated_report[RW]

Public Instance Methods

start(port, username, password) click to toggle source
# File lib/rasper_client/fake_server.rb, line 13
def start(port, username, password)
  @thread = Thread.new do
    FakeAppCreator
      .create(username: username, password: password)
      .run!(port: port, quiet: true)
  end
  sleep 1
  self
end
stop() click to toggle source
# File lib/rasper_client/fake_server.rb, line 23
def stop
  @thread.kill
  self
end