Method: Forgejo::TagProtection#valid?

Defined in:
lib/forgejo/models/tag_protection.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



126
127
128
129
# File 'lib/forgejo/models/tag_protection.rb', line 126

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  true
end