Class: Fizzy::Types::WebhookDeliveryResponse
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::WebhookDeliveryResponse
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Class Method Summary collapse
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code
1194 1195 1196 |
# File 'lib/fizzy/generated/types.rb', line 1194 def code @code end |
#error ⇒ Object (readonly)
Returns the value of attribute error
1194 1195 1196 |
# File 'lib/fizzy/generated/types.rb', line 1194 def error @error end |
Class Method Details
.from_json(data) ⇒ Object
1196 1197 1198 1199 1200 1201 |
# File 'lib/fizzy/generated/types.rb', line 1196 def self.from_json(data) new( code: data["code"], error: data["error"] ) end |