File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -294,11 +294,11 @@ get_content_type(Headers) ->
294
294
end ,
295
295
parse_content_type (Value ).
296
296
297
- -spec has_credentials () -> true | false .
297
+ -spec has_credentials () -> boolean () .
298
298
has_credentials () ->
299
299
gen_server :call (rabbitmq_aws , has_credentials ).
300
300
301
- -spec has_credentials (state ()) -> true | false .
301
+ -spec has_credentials (state ()) -> boolean () .
302
302
% % @doc check to see if there are credentials made available in the current state
303
303
% % returning false if not or if they have expired.
304
304
% % @end
@@ -307,7 +307,7 @@ has_credentials(#state{access_key = Key}) when Key /= undefined -> true;
307
307
has_credentials (_ ) -> false .
308
308
309
309
310
- -spec expired_credentials (Expiration :: calendar :datetime ()) -> true | false .
310
+ -spec expired_credentials (Expiration :: calendar :datetime ()) -> boolean () .
311
311
% % @doc Indicates if the date that is passed in has expired.
312
312
% % end
313
313
expired_credentials (undefined ) -> false ;
You can’t perform that action at this time.
0 commit comments