Class: LobbyingDisclosureClient::Enums::ContributionType
- Inherits:
-
T::Enum
- Object
- T::Enum
- LobbyingDisclosureClient::Enums::ContributionType
- Extended by:
- T::Sig
- Includes:
- Interfaces::ValidatableEnum
- Defined in:
- lib/lobbying_disclosure_client/enums/contribution_type.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/lobbying_disclosure_client/enums/contribution_type.rb', line 21 def name case self when Feca then 'FECA' when HonoraryExpenses then 'Honorary Expenses' when MeetingExpenses then 'Meeting Expenses' when PresidentialLibraryExpenses then 'Presidential Library Expenses' when PresidentialInauguralCommittee then 'Presidential Inaugural Committee' else T.absurd(self) end end |