Class: Dinie::Events::LoanSigner
- Inherits:
-
Internal::Model
- Object
- Internal::Model
- Dinie::Events::LoanSigner
- 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
-
#cpf ⇒ String
readonly
Returns the value of attribute cpf.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#signed_at ⇒ Integer
readonly
Returns the value of attribute signed_at.
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
#cpf ⇒ String (readonly)
Returns the value of attribute cpf.
7 8 9 |
# File 'sig/dinie/generated/events/loan_signature_received.rbs', line 7 def cpf @cpf end |
#name ⇒ String (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'sig/dinie/generated/events/loan_signature_received.rbs', line 8 def name @name end |
#signed_at ⇒ Integer (readonly)
Returns the value of attribute signed_at.
9 10 11 |
# File 'sig/dinie/generated/events/loan_signature_received.rbs', line 9 def signed_at @signed_at end |
Class Method Details
.deserialize(raw) ⇒ LoanSigner
11 12 13 14 15 16 17 |
# File 'lib/dinie/generated/events/loan_signature_received.rb', line 11 def self.deserialize(raw) new( cpf: raw[:cpf], name: raw[:name], signed_at: raw[:signed_at] ) end |