Class: LobbyingDisclosureClient::Types::Client

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

Instance Method Summary collapse

Instance Method Details

#deserialize(hash, strict = false) ⇒ Object


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

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