Class: Passkit::ExampleMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/passkit/example_mailer.rb

Instance Method Summary collapse

Instance Method Details

#example_emailObject



3
4
5
6
# File 'app/mailers/passkit/example_mailer.rb', line 3

def example_email
  @passkit_url_generator = Passkit::UrlGenerator.new(Passkit::ExampleStoreCard, nil)
  mail(to: "[email protected]", subject: "Here is an example of a passkit email")
end