Method: Chain::Config::ClientModule#reset

Defined in:
lib/chain/config.rb

#reset(everything: false) ⇒ void

This method returns an undefined value.

Reset specified Chain Core.

Parameters:

  • everything (Boolean) (defaults to: false)

    If true, all objects including access tokens and MockHSM keys will be deleted. If false, then access tokens and MockHSM keys will be preserved.



145
146
147
# File 'lib/chain/config.rb', line 145

def reset(everything: false)
  client.conn.request('reset', {everything: everything})
end