Class: Dinie::Events::LoanFinished
- Inherits:
-
WebhookEventBase
- Object
- Internal::Model
- WebhookEventBase
- Dinie::Events::LoanFinished
- Defined in:
- lib/dinie/generated/events/loan_status.rb
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Class Method Summary collapse
Methods inherited from Internal::Model
#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h
Constructor Details
This class inherits a constructor from Dinie::Internal::Model
Class Method Details
.deserialize(raw) ⇒ Object
60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/dinie/generated/events/loan_status.rb', line 60 def self.deserialize(raw) new( api_version: raw[:api_version], created_at: raw[:created_at], data: LoanStatusData.deserialize(raw[:data]), delivery_id: raw[:delivery_id], id: raw[:id], timestamp: raw[:timestamp], type: "loan.finished" ) end |