Method: TalonOne::NewEvent#valid?
- Defined in:
- lib/talon_one/models/new_event.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
133 134 135 136 137 138 139 140 141 142 |
# File 'lib/talon_one/models/new_event.rb', line 133 def valid? return false if !@store_integration_id.nil? && @store_integration_id.to_s.length > 1000 return false if !@store_integration_id.nil? && @store_integration_id.to_s.length < 1 return false if @type.nil? return false if @type.to_s.length < 1 return false if @attributes.nil? return false if @session_id.nil? return false if @session_id.to_s.length < 1 true end |