Class: LobbyingDisclosureClient::Auth::Password::Reset::Confirm

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/lobbying_disclosure_client/auth/password/reset/confirm.rb

Defined Under Namespace

Classes: Input, Output

Class Method Summary collapse

Class Method Details

.call(input:) ⇒ Object



27
28
29
30
31
32
33
34
# File 'lib/lobbying_disclosure_client/auth/password/reset/confirm.rb', line 27

def self.call(input:)
  client = Client.new
  response = client.post(LobbyingDisclosureClient::Enums::Route::Auth_Password_Reset_Confirm, input.serialize)

  Output.new(
    detail: T.must(response['detail'])
  )
end