Method: Plaid::ProtectEvent#valid?

Defined in:
lib/plaid/models/protect_event.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



125
126
127
128
# File 'lib/plaid/models/protect_event.rb', line 125

def valid?
  return false if @timestamp.nil?
  true
end