MTG SDK Elixir v0.1.4 Mtg.Request.Query View Source

Module defining the functions to add all query params to an API url

Link to this section Summary

Link to this section Types

Link to this type

and_filter() View Source
and_filter() :: {filter_key(), :and, [binary()]}

Link to this type

filter_key() View Source
filter_key() :: atom() | binary()

Link to this type

normal_filter() View Source
normal_filter() :: {filter_key(), any()}

Link to this type

or_filter() View Source
or_filter() :: {filter_key(), :or, [binary()]}

Link to this section Functions

Link to this function

build_path(path, params) View Source
build_path(binary(), [normal_filter() | or_filter() | and_filter()]) :: binary()