Class: Dinie::Events::LoanSignatureReceivedData
- Inherits:
-
Internal::Model
- Object
- Internal::Model
- Dinie::Events::LoanSignatureReceivedData
- Defined in:
- lib/dinie/generated/events/loan_signature_received.rb,
sig/dinie/generated/events/loan_signature_received.rbs
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Instance Attribute Summary collapse
-
#id ⇒ loan_id
readonly
Returns the value of attribute id.
-
#signatures_received ⇒ Integer
readonly
Returns the value of attribute signatures_received.
-
#signatures_required ⇒ Integer
readonly
Returns the value of attribute signatures_required.
-
#signer ⇒ LoanSigner
readonly
Returns the value of attribute signer.
-
#status ⇒ loan_status
readonly
Returns the value of attribute status.
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
#id ⇒ loan_id (readonly)
Returns the value of attribute id.
15 16 17 |
# File 'sig/dinie/generated/events/loan_signature_received.rbs', line 15 def id @id end |
#signatures_received ⇒ Integer (readonly)
Returns the value of attribute signatures_received.
16 17 18 |
# File 'sig/dinie/generated/events/loan_signature_received.rbs', line 16 def signatures_received @signatures_received end |
#signatures_required ⇒ Integer (readonly)
Returns the value of attribute signatures_required.
17 18 19 |
# File 'sig/dinie/generated/events/loan_signature_received.rbs', line 17 def signatures_required @signatures_required end |
#signer ⇒ LoanSigner (readonly)
Returns the value of attribute signer.
18 19 20 |
# File 'sig/dinie/generated/events/loan_signature_received.rbs', line 18 def signer @signer end |
#status ⇒ loan_status (readonly)
Returns the value of attribute status.
19 20 21 |
# File 'sig/dinie/generated/events/loan_signature_received.rbs', line 19 def status @status end |
Class Method Details
.deserialize(raw) ⇒ LoanSignatureReceivedData
23 24 25 26 27 28 29 30 31 |
# File 'lib/dinie/generated/events/loan_signature_received.rb', line 23 def self.deserialize(raw) new( id: raw[:id], signatures_received: raw[:signatures_received], signatures_required: raw[:signatures_required], signer: LoanSigner.deserialize(raw[:signer]), status: raw[:status] ) end |