Files
fx-serverless/packer/images/ruby/fx.rb
Minghe ab127a36ff support image operation, (#266)
* fx image build, build a function into a image which a API service handle with function
* fx image export, export service into a directory, for easy debug, we
  can just go the directory to do everything with Docker cli
2019-09-25 20:06:49 +08:00

11 lines
170 B
Ruby
Vendored

#
# ctx = {
# :request => request,
# :response => response,
# :status => status,
# :headers => headers,
# }
def fx(ctx)
ctx[:response].body = "hello world"
end