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
1168 1169 1170 |
# File 'lib/fizzy/generated/types.rb', line 1168 def action @action end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
1168 1169 1170 |
# File 'lib/fizzy/generated/types.rb', line 1168 def created_at @created_at end |
#creator ⇒ Object (readonly)
Returns the value of attribute creator
1168 1169 1170 |
# File 'lib/fizzy/generated/types.rb', line 1168 def creator @creator end |
#eventable ⇒ Object (readonly)
Returns the value of attribute eventable
1168 1169 1170 |
# File 'lib/fizzy/generated/types.rb', line 1168 def eventable @eventable end |
#id ⇒ Object (readonly)
Returns the value of attribute id
1168 1169 1170 |
# File 'lib/fizzy/generated/types.rb', line 1168 def id @id end |
Class Method Details
.from_json(data) ⇒ Object
1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/fizzy/generated/types.rb', line 1170 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 |