Class: LobbyingDisclosureClient::V1::Clients::ListClients

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/lobbying_disclosure_client/v1/clients/list_clients.rb

Defined Under Namespace

Classes: Input, Output

Class Method Summary collapse

Class Method Details

.call(input:) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/lobbying_disclosure_client/v1/clients/list_clients.rb', line 40

def self.call(input:)
  client = Client.new

  Output.from_hash!(
    client.get(
      LobbyingDisclosureClient::Enums::Route::V1_Clients_ListClients,
      query_params: input.serialize.compact
    )
  )
end