Method: TalonOne::Notification#valid?
- Defined in:
- lib/talon_one/models/notification.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
99 100 101 102 103 104 |
# File 'lib/talon_one/models/notification.rb', line 99 def valid? return false if @id.nil? return false if @name.nil? return false if @description.nil? true end |