class CardanoWallet::Misc::Settings
API for Network
@see input-output-hk.github.io/cardano-wallet/api/edge/#tag/Settings
Public Instance Methods
get()
click to toggle source
@see input-output-hk.github.io/cardano-wallet/api/edge/#operation/getSettings
# File lib/cardano_wallet/misc.rb, line 40 def get self.class.get('/settings') end
update(params)
click to toggle source
@see input-output-hk.github.io/cardano-wallet/api/edge/#operation/putSettings
# File lib/cardano_wallet/misc.rb, line 45 def update(params) CardanoWallet::Utils.verify_param_is_hash!(params) self.class.put('/settings', body: { 'settings' => params }.to_json, headers: { 'Content-Type' => 'application/json' }) end