Skip to content

Commit

Permalink
Update helpers.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
stwf authored Nov 23, 2017
1 parent 7cb59d6 commit 1c08cf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/geonames/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ defmodule Geonames.Helpers do
{k,v} when is_binary(v) -> "#{k}=#{v}"
{k,v} when is_float(v) -> "#{k}=#{v}"
{k,v} when is_boolean(v) -> "#{k}=#{v}"
{k,v} when is_integer(v) -> "#{k}=#{v}"
{k,arr} when is_list(arr) -> Enum.map(arr, &"#{k}=#{&1}")
end)
|> List.flatten
Expand Down

0 comments on commit 1c08cf4

Please # to comment.