Method: Carbon::UserRequestContent#valid?

Defined in:
lib/carbon_ruby_sdk/models/user_request_content.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



74
75
76
77
# File 'lib/carbon_ruby_sdk/models/user_request_content.rb', line 74

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