Method: TalonOne::RevisionVersion#valid?
- Defined in:
- lib/talon_one/models/revision_version.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/talon_one/models/revision_version.rb', line 290 def valid? return false if @id.nil? return false if @account_id.nil? return false if @application_id.nil? return false if @campaign_id.nil? return false if @created.nil? return false if @created_by.nil? return false if @revision_id.nil? return false if @version.nil? return false if !@name.nil? && @name.to_s.length < 1 true end |