Skip to content

Commit

Permalink
added spec
Browse files Browse the repository at this point in the history
Change-Id: Ia78dadecc3312bd6d91b825533d9495a417b8199
  • Loading branch information
siplabs committed Jul 3, 2015
1 parent 27123d4 commit cd749eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applications/callflow/src/module/cf_ring_group.erl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ handle(Data, Call) ->
Repeat = wh_json:get_value(<<"repeats">>, Data, 1),
repeat(Repeat, Data, Call).

-spec repeat(integer(), wh_json:object(), whapps_call:call()) -> 'ok'.
repeat(0, _Data, Call) ->
cf_exe:continue(Call);
repeat(N, Data, Call) when N > 0 ->
Expand Down

0 comments on commit cd749eb

Please sign in to comment.