Class: HookSniff::LastAttemptInfo
- Inherits:
-
Object
- Object
- HookSniff::LastAttemptInfo
- Defined in:
- lib/hooksniff/webhook_event.rb
Overview
Info about the last delivery attempt.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#response_status_code ⇒ Object
readonly
Returns the value of attribute response_status_code.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize(id:, timestamp:, response_status_code:) ⇒ LastAttemptInfo
constructor
A new instance of LastAttemptInfo.
Constructor Details
#initialize(id:, timestamp:, response_status_code:) ⇒ LastAttemptInfo
Returns a new instance of LastAttemptInfo.
67 68 69 70 71 |
# File 'lib/hooksniff/webhook_event.rb', line 67 def initialize(id:, timestamp:, response_status_code:) @id = id @timestamp = @response_status_code = response_status_code end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
65 66 67 |
# File 'lib/hooksniff/webhook_event.rb', line 65 def id @id end |
#response_status_code ⇒ Object (readonly)
Returns the value of attribute response_status_code.
65 66 67 |
# File 'lib/hooksniff/webhook_event.rb', line 65 def response_status_code @response_status_code end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
65 66 67 |
# File 'lib/hooksniff/webhook_event.rb', line 65 def @timestamp end |