class PUNK::Group
@model @property id(required) [string] a unique identifier for the group @property name(required) [string] the name of the group @property icon(required) [string] an image URL
Public Instance Methods
validate()
click to toggle source
# File lib/punk/models/group.rb, line 14 def validate validates_presence :tenant validates_presence :name validates_url :icon, allow_blank: true end