mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
9 lines
176 B
Ruby
9 lines
176 B
Ruby
require 'iron_worker'
|
|
|
|
if ENV['PAYLOAD'] && ENV['PAYLOAD'] != ""
|
|
payload = JSON.parse(ENV['PAYLOAD'])
|
|
puts payload['input']
|
|
end
|
|
|
|
raise "Something went terribly wrong!"
|