hexlet-codebattle/codebattle

View on GitHub
services/app/apps/phoenix_gon/lib/phoenix_gon.ex

Summary

Maintainability
Test Coverage
defmodule PhoenixGon do
  @moduledoc """
  PhoenixGon hex - your Phoenix variables in your JavaScript.

  It includes:

    * `PhoenixGon.Pipeline` - Plug for initializing gon with settings.

    * `PhoenixGon.Storage` - Main struct that is keep as storage in conn for gon variabeles.

    * `PhoenixGon.View` - Adds templates helpers for rendering and adding javascript code to browser.

    * `PhoenixGon.Controller` - Adds helpers for working with gon on elixir controller modules.

    * `PhoenixGon.Utils` - Usefull methods for elixir modules.

  """
end