lib/sentry/check_in_event.rb in sentry-ruby-5.19.0 vs lib/sentry/check_in_event.rb in sentry-ruby-5.20.0
- old
+ new
@@ -1,13 +1,13 @@
# frozen_string_literal: true
-require 'securerandom'
-require 'sentry/cron/monitor_config'
+require "securerandom"
+require "sentry/cron/monitor_config"
module Sentry
class CheckInEvent < Event
- TYPE = 'check_in'
+ TYPE = "check_in"
# uuid to identify this check-in.
# @return [String]
attr_accessor :check_in_id
@@ -41,10 +41,10 @@
self.monitor_slug = slug
self.status = status
self.duration = duration
self.monitor_config = monitor_config
- self.check_in_id = check_in_id || SecureRandom.uuid.delete('-')
+ self.check_in_id = check_in_id || SecureRandom.uuid.delete("-")
end
# @return [Hash]
def to_hash
data = super