Class: Remitmd::WalletSettings
Instance Attribute Summary collapse
-
#display_name ⇒ Object
readonly
Returns the value of attribute display_name.
-
#wallet ⇒ Object
readonly
Returns the value of attribute wallet.
Instance Method Summary collapse
-
#initialize(attrs) ⇒ WalletSettings
constructor
A new instance of WalletSettings.
Methods inherited from Model
Constructor Details
#initialize(attrs) ⇒ WalletSettings
Returns a new instance of WalletSettings.
353 354 355 356 357 |
# File 'lib/remitmd/models.rb', line 353 def initialize(attrs) h = attrs.transform_keys(&:to_s) @wallet = h["wallet"] @display_name = h["display_name"] end |
Instance Attribute Details
#display_name ⇒ Object (readonly)
Returns the value of attribute display_name.
359 360 361 |
# File 'lib/remitmd/models.rb', line 359 def display_name @display_name end |
#wallet ⇒ Object (readonly)
Returns the value of attribute wallet.
359 360 361 |
# File 'lib/remitmd/models.rb', line 359 def wallet @wallet end |