Class: Cadenya::Types::RotateWebhookEventsHmacSecretResponse
- Inherits:
-
Object
- Object
- Cadenya::Types::RotateWebhookEventsHmacSecretResponse
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#webhook_events_hmac_secret ⇒ Object
readonly
Returns the value of attribute webhook_events_hmac_secret.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(webhook_events_hmac_secret: nil) ⇒ RotateWebhookEventsHmacSecretResponse
constructor
A new instance of RotateWebhookEventsHmacSecretResponse.
- #to_h ⇒ Object
Constructor Details
#initialize(webhook_events_hmac_secret: nil) ⇒ RotateWebhookEventsHmacSecretResponse
Returns a new instance of RotateWebhookEventsHmacSecretResponse.
4920 4921 4922 |
# File 'lib/cadenya/types.rb', line 4920 def initialize(webhook_events_hmac_secret: nil) @webhook_events_hmac_secret = webhook_events_hmac_secret end |
Instance Attribute Details
#webhook_events_hmac_secret ⇒ Object (readonly)
Returns the value of attribute webhook_events_hmac_secret.
4918 4919 4920 |
# File 'lib/cadenya/types.rb', line 4918 def webhook_events_hmac_secret @webhook_events_hmac_secret end |
Class Method Details
.from_json(data) ⇒ Object
4924 4925 4926 4927 4928 |
# File 'lib/cadenya/types.rb', line 4924 def self.from_json(data) new( webhook_events_hmac_secret: data["webhookEventsHmacSecret"], ) end |