Class: Dinie::Bank
- Inherits:
-
Internal::Model
- Object
- Internal::Model
- Dinie::Bank
- Defined in:
- lib/dinie/generated/types/bank.rb,
sig/dinie/generated/types/bank.rbs
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Instance Attribute Summary collapse
-
#display_name ⇒ String
readonly
Returns the value of attribute display_name.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#name ⇒ String
readonly
Returns the value of attribute name.
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
#display_name ⇒ String (readonly)
Returns the value of attribute display_name.
6 7 8 |
# File 'sig/dinie/generated/types/bank.rbs', line 6 def display_name @display_name end |
#id ⇒ String (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'sig/dinie/generated/types/bank.rbs', line 7 def id @id end |
#name ⇒ String (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'sig/dinie/generated/types/bank.rbs', line 8 def name @name end |
Class Method Details
.deserialize(raw) ⇒ Bank
9 10 11 12 13 14 15 |
# File 'lib/dinie/generated/types/bank.rb', line 9 def self.deserialize(raw) new( display_name: raw[:display_name], id: raw[:id], name: raw[:name] ) end |