Phase
Import phase
by sovetnik
active
Project: Cryptoid
Import phase
Just imported from binary
Back to project | MindMap
To clone this phase add umwelt to your project deps and run
New
concept Application created
Description of Application
lib/cryptoid/application.ex
defmodule Cryptoid.Application do
@moduledoc "Description of Application"
@doc "Head of start/2"
@spec start(any, any) :: any
def start(_type, _args) do
end
@doc "Head of config_change/3"
@spec config_change(any, any, any) :: any
def config_change(changed, _new, removed) do
end
end
test/cryptoid/application_test.exs
defmodule Cryptoid.ApplicationTest do
use ExUnit.Case, async: true
describe("config_change / 3") do
test "fun config_change" do
end
end
describe("start / 2") do
test "fun start" do
end
end
end
concept Mailer created
Description of Mailer
lib/cryptoid/mailer.ex
defmodule Cryptoid.Mailer do
@moduledoc "Description of Mailer"
end
test/cryptoid/mailer_test.exs
defmodule Cryptoid.MailerTest do
use ExUnit.Case, async: true
end
concept Rates created
Rates parser
lib/cryptoid/rates.ex
defmodule Cryptoid.Rates do
@moduledoc "Rates parser"
@path [] = list
@doc "Head of parse/1"
@spec parse(map) :: any
def parse(map) do
end
@doc "Head of get/0"
@spec get() :: any
def get() do
end
end
test/cryptoid/rates_test.exs
defmodule Cryptoid.RatesTest do
use ExUnit.Case, async: true
describe("get / 0") do
test "fun get" do
end
end
describe("parse / 1") do
test "fun parse" do
end
end
end
concept Request created
CoinMarketCap api request
lib/cryptoid/request.ex
defmodule Cryptoid.Request do
@moduledoc "CoinMarketCap api request"
@base_url [] = list
@doc "Head of handle_response/1"
@spec handle_response(tuple) :: any
def handle_response(tuple) do
end
@doc "Head of get/1"
@spec get(any) :: any
def get(path) do
end
end
test/cryptoid/request_test.exs
defmodule Cryptoid.RequestTest do
use ExUnit.Case, async: true
describe("get / 1") do
test "fun get" do
end
end
describe("handle_response / 1") do
test "fun handle_response" do
end
end
end
concept Scheduler created
Description of Scheduler
lib/cryptoid/scheduler.ex
defmodule Cryptoid.Scheduler do
@moduledoc "Description of Scheduler"
@timeout 60000
@doc "Head of start_link/1"
@spec start_link(any) :: any
def start_link(count) do
end
@doc "Head of init/1"
@spec init(any) :: any
def init(count) do
end
@doc "Head of handle_info/2"
@spec handle_info(atom, any) :: any
def handle_info(atom, state) do
end
end
test/cryptoid/scheduler_test.exs
defmodule Cryptoid.SchedulerTest do
use ExUnit.Case, async: true
describe("handle_info / 2") do
test "fun handle_info" do
end
end
describe("init / 1") do
test "fun init" do
end
end
describe("start_link / 1") do
test "fun start_link" do
end
end
end
concept Storage created
Counter module, which accepts stream
lib/cryptoid/storage.ex
defmodule Cryptoid.Storage do
@moduledoc "Counter module, which accepts stream"
@doc "Head of update/1"
@spec update(any) :: any
def update(rates) do
end
@doc "Head of start_link/1"
@spec start_link(any) :: any
def start_link(_initial_value) do
end
@doc "Head of rate/1"
@spec rate(any) :: any
def rate(currency) do
end
@doc "Head of currencies/0"
@spec currencies() :: any
def currencies() do
end
end
test/cryptoid/storage_test.exs
defmodule Cryptoid.StorageTest do
use ExUnit.Case, async: true
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
concept System created
Supervisor for Cache
lib/cryptoid/system.ex
defmodule Cryptoid.System do
@moduledoc "Supervisor for Cache"
@doc "Head of start_link/2"
@spec start_link(any, any) :: any
def start_link(_type, _args) do
end
@doc "Head of start_link/0"
@spec start_link() :: any
def start_link() do
end
@doc "Head of child_spec/1"
@spec child_spec(any) :: any
def child_spec(_) do
end
end
test/cryptoid/system_test.exs
defmodule Cryptoid.SystemTest do
use ExUnit.Case, async: true
describe("child_spec / 1") do
test "fun child_spec" do
end
end
describe("start_link / 0") do
test "fun start_link" do
end
end
describe("start_link / 2") do
test "fun start_link" do
end
end
end
Rendering...