Method: GdsApi::TestHelpers::AccountApi#stub_account_api_set_attributes

Defined in:
lib/gds_api/test_helpers/account_api.rb

#stub_account_api_set_attributes(attributes: nil, **options) ⇒ Object

PATCH /api/attributes



211
212
213
214
215
216
217
218
# File 'lib/gds_api/test_helpers/account_api.rb', line 211

def (attributes: nil, **options)
  (
    :patch,
    "/api/attributes",
    with: { body: hash_including({ attributes: }.compact) },
    **options,
  )
end