We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc54ccd commit 0b48fd9Copy full SHA for 0b48fd9
examples/proxy/application.rb
@@ -4,7 +4,7 @@
4
# Released under the MIT License.
5
# Copyright, 2024, by Samuel Williams.
6
7
-require 'async/http/client'
+require "async/http/client"
8
9
class Application
10
# The endpoint we will proxy requests to:
examples/sinatra/app.rb
@@ -1,16 +1,17 @@
1
#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
# To run this example, you need to install the `sinatra` gem:
# $ bundle install
# $ bundle exec ./app.rb
-require 'sinatra/base'
+require "sinatra/base"
class Server < Sinatra::Application
11
set :server, :falcon
12
13
# Hello World:
- get '/' do
14
+ get "/" do
15
"Hello, World!"
16
end
17
0 commit comments