Class: Remitmd::WalletSettings

Inherits:
Model
  • Object
show all
Defined in:
lib/remitmd/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Model

#inspect, #to_h

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_nameObject (readonly)

Returns the value of attribute display_name.



359
360
361
# File 'lib/remitmd/models.rb', line 359

def display_name
  @display_name
end

#walletObject (readonly)

Returns the value of attribute wallet.



359
360
361
# File 'lib/remitmd/models.rb', line 359

def wallet
  @wallet
end