Class: LobbyingDisclosureClient::Enums::Suffix

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

Instance Method Summary collapse

Instance Method Details

#nameObject



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/lobbying_disclosure_client/enums/suffix.rb', line 39

def name
  case self
  when Jr then 'JR'
  when Sr then 'SR'
  when I then 'I'
  when Ii then 'II'
  when Iii then 'III'
  when Iv then 'IV'
  when V then 'V'
  when Cae then 'CAE'
  when Dvm then 'DVM'
  when Dmd then 'DMD'
  when Dppd then 'DPPD'
  when Edd then 'EDD'
  when Esq then 'ESQ'
  when Jd then 'JD'
  when Md then 'MD'
  when Ma then 'MA'
  when Med then 'MED'
  when Mhsa then 'MHSA'
  when Mph then 'MPH'
  when Od then 'OD'
  when Pa then 'PA'
  when Pe then 'PE'
  when Phd then 'PHD'
  else
    T.absurd(self)
  end
end