(event:, context:)
| 4 | require 'json' |
| 5 | |
| 6 | def lambda_handler(event:, context:) |
| 7 | begin |
| 8 | my_string = 'my string literal' |
| 9 | my_string << 'modifying string literal' |
| 10 | rescue FrozenError => ex |
| 11 | puts ex |
| 12 | end |
| 13 | |
| 14 | { statusCode: 200, body: JSON.generate(my_string) } |
| 15 | end |
nothing calls this directly
no outgoing calls
no test coverage detected