Class: GdsApi::SignonApi

Inherits:
Base
  • Object
show all
Defined in:
lib/gds_api/signon_api.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#client, #create_client, #get_list, #initialize, #url_for_slug

Constructor Details

This class inherits a constructor from GdsApi::Base

Instance Method Details

#get_users(uuids:) ⇒ GdsApi::Response

Get users with specific UUIDs

Parameters:

  • uuids (Array)

    signon_api.users(

    ["7ac47b33-c09c-4c1d-a9a7-0cfef99081ac"],
    

    )

Returns:

  • (GdsApi::Response)

    A response containing a list of users with the specified UUIDs



13
14
15
16
# File 'lib/gds_api/signon_api.rb', line 13

def get_users(uuids:)
  query = query_string(uuids:)
  get_json("#{endpoint}/api/users#{query}")
end