Class: LobbyingDisclosureClient::V1::Constants::Filing::ListGovernmentEntities

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/lobbying_disclosure_client/v1/constants/filing/list_government_entities.rb

Class Method Summary collapse

Class Method Details

.callObject



14
15
16
17
18
19
20
21
# File 'lib/lobbying_disclosure_client/v1/constants/filing/list_government_entities.rb', line 14

def self.call
  client = Client.new
  client.get(
    LobbyingDisclosureClient::Enums::Route::V1_Constants_Filing_GovernmentEntities
  ).map do |constant|
    LobbyingDisclosureClient::Types::GovernmentEntity.from_hash!(constant)
  end
end