Class: Dinie::Events::LoanError
- Inherits:
-
WebhookEventBase
- Object
- Internal::Model
- WebhookEventBase
- Dinie::Events::LoanError
- Defined in:
- lib/dinie/generated/events/loan_status.rb,
sig/dinie/generated/events/loan_status.rbs
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Instance Attribute Summary collapse
-
#data ⇒ LoanStatusData
readonly
Returns the value of attribute data.
Attributes inherited from WebhookEventBase
#api_version, #created_at, #delivery_id, #id, #timestamp, #type
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
Instance Attribute Details
#data ⇒ LoanStatusData (readonly)
Returns the value of attribute data.
35 36 37 |
# File 'sig/dinie/generated/events/loan_status.rbs', line 35 def data @data end |
Class Method Details
.deserialize(raw) ⇒ LoanError
11 12 13 14 15 16 |
# File 'lib/dinie/generated/events/loan_status.rb', line 11 def self.deserialize(raw) new( code: raw[:code], message: raw[:message] ) end |