class GdsApi::AccountApi
def set_attributes(attributes:, govuk_account_session:)
-
(Hash)
- A new session header
Parameters:
-
govuk_account_session
(String
) -- Value of the session header -
attributes
(String
) -- Hash of new attribute values
def set_attributes(attributes:, govuk_account_session:) patch_json("#{endpoint}/api/attributes", { attributes: }, auth_headers(govuk_account_session)) end