Coinbase.Util.Params

A utility class to help with parameters Adds support for adding additional parameters to a map eaily and ignores values of :undefined

Source

Summary

add_optionals(params, optionals \\ %{})

Takes a map and adds optional map params into it Ignores pairs with value of :undefined

Functions

add_optionals(params, optionals \\ %{})

Specs:

  • add_optionals(%{}, %{}) :: %{}

Takes a map and adds optional map params into it Ignores pairs with value of :undefined

Source