Method: Dynamoid::Config::Options#reset

Defined in:
lib/dynamoid/config/options.rb

#resetHash

Reset the configuration options to the defaults.

Examples:

Reset the configuration options.

config.reset

Returns:

  • (Hash)

    The defaults.

Since:

  • 0.2.0



61
62
63
# File 'lib/dynamoid/config/options.rb', line 61

def reset
  settings.replace(defaults)
end