Class: LobbyingDisclosureClient::V1::Filings::ListFilings

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

Defined Under Namespace

Classes: Input, Output

Class Method Summary collapse

Class Method Details

.call(input:) ⇒ Object



68
69
70
71
72
73
74
75
76
77
# File 'lib/lobbying_disclosure_client/v1/filings/list_filings.rb', line 68

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

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