Method: UpBankingClient::WebhookResource#valid?

Defined in:
lib/up_banking/models/webhook_resource.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
129
130
131
# File 'lib/up_banking/models/webhook_resource.rb', line 125

def valid?
  return false if @type.nil?
  return false if @id.nil?
  return false if @attributes.nil?
  return false if @relationships.nil?
  true
end