new
Cryptoid (context) > Storage

Storage

Counter module, which accepts stream


concepts

attrs

fields

signatures
⨌ currencies / 0 (anything) Signature inference is ambiguous, choose stricter type

Head of currencies/0

⨌ update / 1 (anything) Signature inference is ambiguous, choose stricter type

Head of update/1

⨌ start_link / 1 (anything) Signature inference is ambiguous, choose stricter type

Head of start_link/1

⨌ rate / 1 (anything) Signature inference is ambiguous, choose stricter type

Head of rate/1


samples

lib/cryptoid/storage.ex
defmodule Cryptoid.Storage do @moduledoc "Counter module, which accepts stream" @doc "Head of currencies/0" @spec currencies() :: any def currencies() def currencies() do end @doc "Head of rate/1" @spec rate(currency :: any) :: any def rate(currency) def rate(currency) do end @doc "Head of start_link/1" @spec start_link(_initial_value :: any) :: any def start_link(_initial_value) def start_link(_initial_value) do end @doc "Head of update/1" @spec update(rates :: any) :: any def update(rates) def update(rates) do end end

defmodule Cryptoid.Storage do
  @moduledoc "Counter module, which accepts stream"
  @doc "Head of currencies/0"
  @spec currencies() :: any
  def currencies()

  def currencies() do
  end

  @doc "Head of rate/1"
  @spec rate(currency :: any) :: any
  def rate(currency)

  def rate(currency) do
  end

  @doc "Head of start_link/1"
  @spec start_link(_initial_value :: any) :: any
  def start_link(_initial_value)

  def start_link(_initial_value) do
  end

  @doc "Head of update/1"
  @spec update(rates :: any) :: any
  def update(rates)

  def update(rates) do
  end
end


test/cryptoid/storage_test.exs
defmodule Cryptoid.StorageTest do use ExUnit.Case, async: true alias Cryptoid.Storage describe("currencies / 0") do test "fun currencies" do end end describe("rate / 1") do test "fun rate" do end end describe("start_link / 1") do test "fun start_link" do end end describe("update / 1") do test "fun update" do end end end

defmodule Cryptoid.StorageTest do
  use ExUnit.Case, async: true
  alias Cryptoid.Storage

  describe("currencies / 0") do
    test "fun currencies" do
    end
  end

  describe("rate / 1") do
    test "fun rate" do
    end
  end

  describe("start_link / 1") do
    test "fun start_link" do
    end
  end

  describe("update / 1") do
    test "fun update" do
    end
  end
end