0xAX/weber — pull request #99 by liveforeverx (2013-11-16 09:46:11+00:00)
Title: [Proposal] [WiP] More elixirize

This is proposal, like to use more elixir for more understandable anв compact code, better error messages und removing boilerplate code.

This change include:
1) Using the Keyword.fetch! instead of :lists, because it is simplify the use and make the error more understandable, like:
** (KeyError) key not found: :http_port
2) Use macro, when working with request, because of much boilerplate code
3) Use if macro, where it simplifies the statement, like here:
case ... do
true ->
false ->
end

if ... do
else
end