Class: LobbyingDisclosureClient::Types::ClientWithRegistrant

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

Instance Method Summary collapse

Instance Method Details

#deserialize(hash, strict = false) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/lobbying_disclosure_client/types/client_with_registrant.rb', line 33

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