Class: Fizzy::Types::WebhookDeliveryEvent
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::WebhookDeliveryEvent
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#creator ⇒ Object
readonly
Returns the value of attribute creator.
-
#eventable ⇒ Object
readonly
Returns the value of attribute eventable.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Class Method Summary collapse
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action
1178 1179 1180 |
# File 'lib/fizzy/generated/types.rb', line 1178 def action @action end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
1178 1179 1180 |
# File 'lib/fizzy/generated/types.rb', line 1178 def created_at @created_at end |
#creator ⇒ Object (readonly)
Returns the value of attribute creator
1178 1179 1180 |
# File 'lib/fizzy/generated/types.rb', line 1178 def creator @creator end |
#eventable ⇒ Object (readonly)
Returns the value of attribute eventable
1178 1179 1180 |
# File 'lib/fizzy/generated/types.rb', line 1178 def eventable @eventable end |
#id ⇒ Object (readonly)
Returns the value of attribute id
1178 1179 1180 |
# File 'lib/fizzy/generated/types.rb', line 1178 def id @id end |
Class Method Details
.from_json(data) ⇒ Object
1180 1181 1182 1183 1184 1185 1186 1187 1188 |
# File 'lib/fizzy/generated/types.rb', line 1180 def self.from_json(data) new( id: data["id"], action: data["action"], created_at: data["created_at"], creator: data["creator"] && WebhookDeliveryEventCreator.from_json(data["creator"]), eventable: data["eventable"] && WebhookDeliveryEventEventable.from_json(data["eventable"]) ) end |