Class: LobbyingDisclosureClient::V1::Constants::General::ListCountries
- Inherits:
-
Object
- Object
- LobbyingDisclosureClient::V1::Constants::General::ListCountries
- Extended by:
- T::Sig
- Defined in:
- lib/lobbying_disclosure_client/v1/constants/general/list_countries.rb
Class Method Summary collapse
Class Method Details
.call ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/lobbying_disclosure_client/v1/constants/general/list_countries.rb', line 14 def self.call client = Client.new client.get( LobbyingDisclosureClient::Enums::Route::V1_Constants_General_Countries ).map do |constant| LobbyingDisclosureClient::Types::Constant.from_hash!(constant) end end |