Class: LobbyingDisclosureClient::Enums::FilingType

Inherits:
T::Enum
  • Object
show all
Extended by:
T::Sig
Includes:
Interfaces::ValidatableEnum
Defined in:
lib/lobbying_disclosure_client/enums/filing_type.rb

Instance Method Summary collapse

Instance Method Details

#nameObject



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'lib/lobbying_disclosure_client/enums/filing_type.rb', line 66

def name
  case self
  when Registration then 'Registration'
  when RegistrationAmendment then 'Registration - Amendment'
  when FirstQuarterReport then '1st Quarter - Report'
  when FirstQuarterReportNoActivity then '1st Quarter - Report (No Activity)'
  when FirstQuarterTermination then '1st Quarter - Termination'
  when FirstQuarterTerminationNoActivity then '1st Quarter - Termination (No Activity)'
  when FirstQuarterAmendment then '1st Quarter - Amendment'
  when FirstQuarterAmendmentNoActivity then '1st Quarter - Amendment (No Activity)'
  when FirstQuarterTerminationAmendment then '1st Quarter - Termination Amendment'
  when FirstQuarterTerminationAmendmentNoActivity then '1st Quarter - Termination Amendment (No Activity)'
  when SecondQuarterReport then '2nd Quarter - Report'
  when SecondQuarterReportNoActivity then '2nd Quarter - Report (No Activity)'
  when SecondQuarterTermination then '2nd Quarter - Termination'
  when SecondQuarterTerminationNoActivity then '2nd Quarter - Termination (No Activity)'
  when SecondQuarterAmendment then '2nd Quarter - Amendment'
  when SecondQuarterAmendmentNoActivity then '2nd Quarter - Amendment (No Activity)'
  when SecondQuarterTerminationAmendment then '2nd Quarter - Termination Amendment'
  when SecondQuarterTerminationAmendmentNoActivity then '2nd Quarter - Termination Amendment (No Activity)'
  when ThirdQuarterReport then '3rd Quarter - Report'
  when ThirdQuarterReportNoActivity then '3rd Quarter - Report (No Activity)'
  when ThirdQuarterTermination then '3rd Quarter - Termination'
  when ThirdQuarterTerminationNoActivity then '3rd Quarter - Termination (No Activity)'
  when ThirdQuarterAmendment then '3rd Quarter - Amendment'
  when ThirdQuarterAmendmentNoActivity then '3rd Quarter - Amendment (No Activity)'
  when ThirdQuarterTerminationAmendment then '3rd Quarter - Termination Amendment'
  when ThirdQuarterTerminationAmendmentNoActivity then '3rd Quarter - Termination Amendment (No Activity)'
  when FourthQuarterReport then '4th Quarter - Report'
  when FourthQuarterReportNoActivity then '4th Quarter - Report (No Activity)'
  when FourthQuarterTermination then '4th Quarter - Termination'
  when FourthQuarterTerminationNoActivity then '4th Quarter - Termination (No Activity)'
  when FourthQuarterAmendment then '4th Quarter - Amendment'
  when FourthQuarterAmendmentNoActivity then '4th Quarter - Amendment (No Activity)'
  when FourthQuarterTerminationAmendment then '4th Quarter - Termination Amendment'
  when FourthQuarterTerminationAmendmentNoActivity then '4th Quarter - Termination Amendment (No Activity)'
  when MidYearReport then 'Mid-Year Report'
  when MidYearReportNoActivity then 'Mid-Year Report (No Activity)'
  when MidYearTermination then 'Mid-Year Termination'
  when MidYearTerminationNoActivity then 'Mid-Year Termination (No Activity)'
  when MidYearAmendment then 'Mid-Year Amendment'
  when MidYearAmendmentNoActivity then 'Mid-Year Amendment (No Activity)'
  when MidYearTerminationAmendment then 'Mid-Year Termination Amendment'
  when MidYearTerminationAmendmentNoActivity then 'Mid-Year Termination Amendment (No Activity)'
  when YearEndReport then 'Year-End Report'
  when YearEndReportNoActivity then 'Year-End Report (No Activity)'
  when YearEndTermination then 'Year-End Termination'
  when YearEndTerminationNoActivity then 'Year-End Termination (No Activity)'
  when YearEndAmendment then 'Year-End Amendment'
  when YearEndAmendmentNoActivity then 'Year-End Amendment (No Activity)'
  when YearEndTerminationAmendment then 'Year-End Termination Amendment'
  when YearEndTerminationAmendmentNoActivity then 'Year-End Termination Amendment (No Activity)'
  else
    T.absurd(self)
  end
end