Method: Brevo::GetAccount#valid?
- Defined in:
- lib/brevo/models/get_account.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
146 147 148 149 150 151 152 153 154 155 |
# File 'lib/brevo/models/get_account.rb', line 146 def valid? return false if @email.nil? return false if @first_name.nil? return false if @last_name.nil? return false if @company_name.nil? return false if @address.nil? return false if @plan.nil? return false if @relay.nil? true end |