Wait for theme
new
Cryptoid (context) > Request
Request
CoinMarketCap api request
concepts
attrs
@base_url (anything)
Attribute base_url
fields
signatures
⨌ handle_response / 1 (anything) Signature inference is ambiguous, choose stricter type
Head of handle_response/1
⨌ get / 1 (anything) Signature inference is ambiguous, choose stricter type
Head of get/1
samples
lib/cryptoid/request.ex
defmodule Cryptoid.Request do
@moduledoc "CoinMarketCap api request"
@base_url [] = list
@doc "Head of get/1"
@spec get(path :: any) :: any
def get(path)
def get(path) do
end
@doc "Head of handle_response/1"
@spec handle_response(tuple :: tuple) :: any
def handle_response(tuple)
def handle_response(tuple) do
end
end
defmodule Cryptoid.Request do
@moduledoc "CoinMarketCap api request"
@base_url [] = list
@doc "Head of get/1"
@spec get(path :: any) :: any
def get(path)
def get(path) do
end
@doc "Head of handle_response/1"
@spec handle_response(tuple :: tuple) :: any
def handle_response(tuple)
def handle_response(tuple) do
end
end
test/cryptoid/request_test.exs
defmodule Cryptoid.RequestTest do
use ExUnit.Case, async: true
alias Cryptoid.Request
describe("get / 1") do
test "fun get" do
end
end
describe("handle_response / 1") do
test "fun handle_response" do
end
end
end
defmodule Cryptoid.RequestTest do
use ExUnit.Case, async: true
alias Cryptoid.Request
describe("get / 1") do
test "fun get" do
end
end
describe("handle_response / 1") do
test "fun handle_response" do
end
end
end