Skip to content

Commit

Permalink
WHISTLE-1441: update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
James Aimonetti committed Dec 6, 2012
1 parent 33c94ac commit 3cecbfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions whistle_apps/apps/acdc/src/acdc_agent.erl
Expand Up @@ -52,7 +52,7 @@
,acct_db :: ne_binary() ,acct_db :: ne_binary()
,acct_id :: ne_binary() ,acct_id :: ne_binary()
,fsm_pid :: pid() ,fsm_pid :: pid()
,agent_queues :: [ne_binary(),...] | [] ,agent_queues :: ne_binaries()
,last_connect :: wh_now() % last connection ,last_connect :: wh_now() % last connection
,last_attempt :: wh_now() % last attempt to connect ,last_attempt :: wh_now() % last attempt to connect
,my_id :: ne_binary() ,my_id :: ne_binary()
Expand Down Expand Up @@ -610,7 +610,7 @@ code_change(_OldVsn, State, _Extra) ->
%%%=================================================================== %%%===================================================================
%%% Internal functions %%% Internal functions
%%%=================================================================== %%%===================================================================
-spec is_valid_queue/2 :: (ne_binary(), [ne_binary()]) -> boolean(). -spec is_valid_queue/2 :: (ne_binary(), ne_binaries()) -> boolean().
is_valid_queue(Q, Qs) -> lists:member(Q, Qs). is_valid_queue(Q, Qs) -> lists:member(Q, Qs).


-spec send_member_connect_resp/5 :: (wh_json:object(), ne_binary() -spec send_member_connect_resp/5 :: (wh_json:object(), ne_binary()
Expand Down

0 comments on commit 3cecbfe

Please sign in to comment.