Method: TalonOne::BaseNotificationWebhook#valid?

Defined in:
lib/talon_one/models/base_notification_webhook.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



128
129
130
131
132
133
134
135
# File 'lib/talon_one/models/base_notification_webhook.rb', line 128

def valid?
  return false if @id.nil?
  return false if @created.nil?
  return false if @modified.nil?
  return false if @url.nil?
  return false if @headers.nil?
  true
end