Class: LobbyingDisclosureClient::V1::Lobbyists::RetrieveLobbyist
- Inherits:
-
Object
- Object
- LobbyingDisclosureClient::V1::Lobbyists::RetrieveLobbyist
- Extended by:
- T::Sig
- Defined in:
- lib/lobbying_disclosure_client/v1/lobbyists/retrieve_lobbyist.rb
Defined Under Namespace
Classes: Input
Constant Summary collapse
- Output =
T.type_alias do LobbyingDisclosureClient::Types::LobbyistWithRegistrant end
Class Method Summary collapse
Class Method Details
.call(input:) ⇒ Object
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/lobbying_disclosure_client/v1/lobbyists/retrieve_lobbyist.rb', line 23 def self.call(input:) client = Client.new LobbyingDisclosureClient::Types::LobbyistWithRegistrant.from_hash!( client.get( LobbyingDisclosureClient::Enums::Route::V1_Lobbyists_RetrieveLobbyist, path_params: [input.id] ) ) end |