Compare commits

..

1 Commits

Author SHA1 Message Date
Shadowfacts 1bf127d39b
Start pipeline system 2019-07-08 22:41:59 -04:00
1 changed files with 0 additions and 6 deletions

View File

@ -3,12 +3,6 @@ defmodule Frenzy.Pipeline.FilterStage do
alias Frenzy.Pipeline.Stage alias Frenzy.Pipeline.Stage
@behaviour Stage @behaviour Stage
# @impl Stage
# def apply(opts, item_params) do
# matches = matches?(opts, item_params)
#
# end
@impl Stage @impl Stage
def apply(%{"mode" => mode, "score" => score, "rules" => rules}, item_params) def apply(%{"mode" => mode, "score" => score, "rules" => rules}, item_params)
when is_binary(mode) and is_integer(score) and is_list(rules) do when is_binary(mode) and is_integer(score) and is_list(rules) do