Current section

Files

Jump to
tallgrass src tallgrass@client@contest_type.erl
Raw

src/tallgrass@client@contest_type.erl

-module(tallgrass@client@contest_type).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([fetch_by_id/1, fetch_by_name/1]).
-spec fetch_by_id(integer()) -> {ok,
tallgrass@internal@contest@contest_type@contest_type:contest_type()} |
{error, tallgrass@internal@http@error:error()}.
fetch_by_id(Id) ->
tallgrass@internal@contest@contest_type@client:fetch_by_id(Id).
-spec fetch_by_name(binary()) -> {ok,
tallgrass@internal@contest@contest_type@contest_type:contest_type()} |
{error, tallgrass@internal@http@error:error()}.
fetch_by_name(Name) ->
tallgrass@internal@contest@contest_type@client:fetch_by_name(Name).