class Hippo::Templates::TenantChange
Public Class Methods
new(tenant)
click to toggle source
# File lib/hippo/templates/tenant_change.rb, line 4 def initialize(tenant) @tenant = tenant end
Public Instance Methods
subject()
click to toggle source
# File lib/hippo/templates/tenant_change.rb, line 12 def subject "The login address for #{Hippo.config.product_name} has changed" end
to()
click to toggle source
# File lib/hippo/templates/tenant_change.rb, line 8 def to @tenant.email end
variables()
click to toggle source
Calls superclass method
Hippo::Templates::Mail#variables
# File lib/hippo/templates/tenant_change.rb, line 16 def variables super.merge( 'slug' => @tenant.slug, 'domain' => @tenant.domain ) end