Method: TalonOne::IntegrationStateV2#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



202
203
204
205
206
207
# File 'lib/talon_one/models/integration_state_v2.rb', line 202

def valid?
  return false if @effects.nil?
  return false if @created_coupons.nil?
  return false if @created_referrals.nil?
  true
end