sample-functions-framework-ruby/app.rb (4 lines of code) (raw):

require "functions_framework" FunctionsFramework.http("hello") do |request| "hello, world" end