lib/auth_lh.rb in auth-lh-0.0.10 vs lib/auth_lh.rb in auth-lh-0.0.11
- old
+ new
@@ -32,9 +32,14 @@
def self.get_users(filters={})
results = get_request("/api/users", filters)
results.map { |r| User.new(r) }
end
+ def self.get_all_users
+ results = get_request("/api/users/all")
+ results.map { |r| User.new(r) }
+ end
+
protected
def self.create_login_attempt
params = { app_code: @application_code }