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