Class: Fizzy::Types::WebhookDeliveryEventCreator
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::WebhookDeliveryEventCreator
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id
1171 1172 1173 |
# File 'lib/fizzy/generated/types.rb', line 1171 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
1171 1172 1173 |
# File 'lib/fizzy/generated/types.rb', line 1171 def name @name end |
Class Method Details
.from_json(data) ⇒ Object
1173 1174 1175 1176 1177 1178 |
# File 'lib/fizzy/generated/types.rb', line 1173 def self.from_json(data) new( id: data["id"], name: data["name"] ) end |