class Sentry::Lambda::NullContext
This class exists to allow nil to quack like an AWS context object, primarily for the purpose of supporting automated tests which don't supply a context object.
Public Instance Methods
aws_request_id()
click to toggle source
# File lib/sentry/lambda/null_context.rb, line 22 def aws_request_id 'n/a' end
function_name()
click to toggle source
# File lib/sentry/lambda/null_context.rb, line 10 def function_name 'n/a' end
function_version()
click to toggle source
# File lib/sentry/lambda/null_context.rb, line 14 def function_version 'n/a' end
get_remaining_time_in_millis()
click to toggle source
# File lib/sentry/lambda/null_context.rb, line 6 def get_remaining_time_in_millis 0 end
invoked_function_arn()
click to toggle source
# File lib/sentry/lambda/null_context.rb, line 18 def invoked_function_arn 'n/a' end