Class: Fizzy::Types::WebhookDelivery
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::WebhookDelivery
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#event ⇒ Object
readonly
Returns the value of attribute event.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#request ⇒ Object
readonly
Returns the value of attribute request.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Class Method Summary collapse
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
1141 1142 1143 |
# File 'lib/fizzy/generated/types.rb', line 1141 def created_at @created_at end |
#event ⇒ Object (readonly)
Returns the value of attribute event
1141 1142 1143 |
# File 'lib/fizzy/generated/types.rb', line 1141 def event @event end |
#id ⇒ Object (readonly)
Returns the value of attribute id
1141 1142 1143 |
# File 'lib/fizzy/generated/types.rb', line 1141 def id @id end |
#request ⇒ Object (readonly)
Returns the value of attribute request
1141 1142 1143 |
# File 'lib/fizzy/generated/types.rb', line 1141 def request @request end |
#response ⇒ Object (readonly)
Returns the value of attribute response
1141 1142 1143 |
# File 'lib/fizzy/generated/types.rb', line 1141 def response @response end |
#state ⇒ Object (readonly)
Returns the value of attribute state
1141 1142 1143 |
# File 'lib/fizzy/generated/types.rb', line 1141 def state @state end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at
1141 1142 1143 |
# File 'lib/fizzy/generated/types.rb', line 1141 def updated_at @updated_at end |
Class Method Details
.from_json(data) ⇒ Object
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 |
# File 'lib/fizzy/generated/types.rb', line 1143 def self.from_json(data) new( id: data["id"], state: data["state"], created_at: data["created_at"], updated_at: data["updated_at"], request: data["request"], response: data["response"], event: data["event"] ) end |