Class: Appsignal::CheckIn::Cron
- Defined in:
- lib/appsignal/check_in/cron.rb
Instance Attribute Summary collapse
- #digest ⇒ Object readonly private
- #identifier ⇒ Object readonly private
Instance Method Summary collapse
- #finish ⇒ Object
-
#initialize(identifier:) ⇒ Cron
constructor
A new instance of Cron.
- #start ⇒ Object
Constructor Details
#initialize(identifier:) ⇒ Cron
Returns a new instance of Cron.
9 10 11 12 |
# File 'lib/appsignal/check_in/cron.rb', line 9 def initialize(identifier:) @identifier = identifier @digest = SecureRandom.hex(8) end |
Instance Attribute Details
#digest ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 |
# File 'lib/appsignal/check_in/cron.rb', line 7 def digest @digest end |
#identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 |
# File 'lib/appsignal/check_in/cron.rb', line 7 def identifier @identifier end |