lib/auth_lh/authentication.rb in auth-lh-0.12.0 vs lib/auth_lh/authentication.rb in auth-lh-0.12.1

- old
+ new

@@ -32,10 +32,10 @@ } end module ClassMethods def all_external - @cached_users ||= AuthLh.get_users({ pagination: 'false' }) + @cached_users ||= AuthLh::Api.get_users({ pagination: 'false' }) end def all_external_with_role(role_code) all_external.find_all { |x| x.has_role?(role_code) } end