Class: LobbyingDisclosureClient::Auth::Login
- Inherits:
-
Object
- Object
- LobbyingDisclosureClient::Auth::Login
- Extended by:
- T::Sig
- Defined in:
- lib/lobbying_disclosure_client/auth/login.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.call(input:) ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/lobbying_disclosure_client/auth/login.rb', line 23 def self.call(input:) client = Client.new response = client.post(LobbyingDisclosureClient::Enums::Route::Auth_Login, input.serialize) Output.new( key: T.must(response['key']) ) end |