Class: LobbyingDisclosureClient::Types::Registrant

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/lobbying_disclosure_client/types/registrant.rb

Instance Method Summary collapse

Instance Method Details

#deserialize(hash, strict = false) ⇒ Object



36
37
38
39
40
41
42
43
# File 'lib/lobbying_disclosure_client/types/registrant.rb', line 36

def deserialize(hash, strict = false)
  super(
    hash.merge(
      'dt_updated' => hash['dt_updated'] ? DateTime.parse(hash['dt_updated']) : nil
    ),
    strict
  )
end