class FakeServer::CLI
Public Instance Methods
start(remote_host)
click to toggle source
# File lib/fake_server/cli.rb, line 15 def start(remote_host) VCR.configure do |c| c.cassette_library_dir = options[:cassette_dir] c.hook_into :webmock end Rack::Handler::Puma.run(Server.new(remote_host, options[:log_file]), { Port: options[:port], Threads: "#{options[:min_threads]}:#{options[:max_threads]}" }) end