Class: MailFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/sinatra/ditties/mailer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#htmlObject (readonly)

Returns the value of attribute html.



11
12
13
# File 'lib/sinatra/ditties/mailer.rb', line 11

def html
  @html
end

#textObject (readonly)

Returns the value of attribute text.



11
12
13
# File 'lib/sinatra/ditties/mailer.rb', line 11

def text
  @text
end