Class: GustoEmbedded::Models::Shared::WebhooksHealthCheckStatus
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::WebhooksHealthCheckStatus
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/webhooks_health_check_status.rb
Overview
The representation of a webhooks health check response
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(status: nil, last_checked_at: nil) ⇒ WebhooksHealthCheckStatus
constructor
A new instance of WebhooksHealthCheckStatus.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(status: nil, last_checked_at: nil) ⇒ WebhooksHealthCheckStatus
Returns a new instance of WebhooksHealthCheckStatus.
21 22 23 24 |
# File 'lib/gusto_embedded/models/shared/webhooks_health_check_status.rb', line 21 def initialize(status: nil, last_checked_at: nil) @status = status @last_checked_at = last_checked_at end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/gusto_embedded/models/shared/webhooks_health_check_status.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @status == other.status return false unless @last_checked_at == other.last_checked_at true end |