Browse files

WHISTLE-1441: update spec

  • Loading branch information...
1 parent 33c94ac commit 3cecbfe0cfb79fddae8a1ac30789766bb4ce9479 @jamesaimonetti jamesaimonetti committed Dec 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 whistle_apps/apps/acdc/src/acdc_agent.erl
View
4 whistle_apps/apps/acdc/src/acdc_agent.erl
@@ -52,7 +52,7 @@
,acct_db :: ne_binary()
,acct_id :: ne_binary()
,fsm_pid :: pid()
- ,agent_queues :: [ne_binary(),...] | []
+ ,agent_queues :: ne_binaries()
,last_connect :: wh_now() % last connection
,last_attempt :: wh_now() % last attempt to connect
,my_id :: ne_binary()
@@ -610,7 +610,7 @@ code_change(_OldVsn, State, _Extra) ->
%%%===================================================================
%%% 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).
-spec send_member_connect_resp/5 :: (wh_json:object(), ne_binary()

0 comments on commit 3cecbfe

Please sign in to comment.