Class: Falqon::Message::Metadata
- Inherits:
-
T::Struct
- Object
- T::Struct
- Falqon::Message::Metadata
- Defined in:
- lib/falqon/message.rb
Overview
Metadata for a message
Instance Attribute Summary collapse
-
#created_at ⇒ Integer
Timestamp of creation.
-
#retried_at ⇒ Integer?
Timestamp of last retry.
-
#retries ⇒ Integer
Number of times the message has been retried.
-
#retry_error ⇒ String?
Last error message.
-
#status ⇒ String
Status (unknown, pending, processing, scheduled, dead).
-
#updated_at ⇒ Integer
Timestamp of last update.
Instance Method Summary collapse
Constructor Details
#initialize(status: "unknown", retries: 0, retried_at: nil, retry_error: nil, created_at:, updated_at:) ⇒ void
|
# File '' prop :status, String, default: "unknown" prop :retries, Integer, default: 0 prop :retried_at, T.nilable(Integer) prop :retry_error, T.nilable(String) prop :created_at, Integer prop :updated_at, Integer |
Instance Attribute Details
#created_at ⇒ Integer
Timestamp of creation
|
# File '' prop :created_at, Integer |
#retried_at ⇒ Integer?
Timestamp of last retry
|
# File '' prop :retried_at, T.nilable(Integer) |
#retries ⇒ Integer
Number of times the message has been retried
|
# File '' prop :retries, Integer, default: 0 |
#retry_error ⇒ String?
Last error message
|
# File '' prop :retry_error, T.nilable(String) |
#status ⇒ String
Status (unknown, pending, processing, scheduled, dead)
|
# File '' prop :status, String, default: "unknown" |
#updated_at ⇒ Integer
Timestamp of last update
|
# File '' prop :updated_at, Integer |