Class: Dinie::WebhookEndpointWithSecret
- Inherits:
-
WebhookEndpoint
- Object
- Internal::Model
- WebhookEndpoint
- Dinie::WebhookEndpointWithSecret
- Defined in:
- lib/dinie/generated/types/webhook_endpoint.rb
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Class Method Summary collapse
Methods inherited from WebhookEndpoint
serialize_create, serialize_update
Methods inherited from Internal::Model
#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h
Constructor Details
This class inherits a constructor from Dinie::Internal::Model
Class Method Details
.deserialize(raw) ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/dinie/generated/types/webhook_endpoint.rb', line 39 def self.deserialize(raw) new( created_at: raw[:created_at], description: raw[:description], events: raw[:events], id: raw[:id], secret: raw[:secret], status: raw[:status], updated_at: raw[:updated_at], url: raw[:url] ) end |