class NiftyEmail::Email

Attributes

html[R]
text[R]

Public Class Methods

new(email_parts) click to toggle source
# File lib/nifty-email.rb, line 28
def initialize(email_parts)
  @html = email_parts.fetch('html')
  @text = email_parts.fetch('text')
end