CoderRing.new

You're seeing just the function new, go back to CoderRing module for more information.

Specs

new(keyword()) :: t()

Make a new ring struct.

Options

  • :name - Ring name atom. Required.
  • :base_length - Number of characters for the base code, 1-4. Default: 4
  • :repo - Ecto.Repo module to use. Required.
  • :expletive_blacklist - Expletive blacklist to use: :english, :international or nil. Note that, if enabled, the expletive package must be added as a dependency in your application. Default: nil