Class: Bently::HerokuSendgrid
- Inherits:
-
RailsRecipe
- Object
- Recipe
- RubyRecipe
- RailsRecipe
- Bently::HerokuSendgrid
- Defined in:
- lib/bently/recipe/heroku-sendgrid.rb
Constant Summary
Constants inherited from RubyRecipe
Instance Method Summary collapse
-
#initialize ⇒ HerokuSendgrid
constructor
A new instance of HerokuSendgrid.
Methods inherited from RailsRecipe
Methods inherited from RubyRecipe
Methods inherited from Recipe
#append, breakdown, category, #code, #create, description, homepage, #insert, #modify, #operate, #operations, #prepend, #remove, #requirement, #run, #say, title, #todo, #usage, version, #warn
Constructor Details
#initialize ⇒ HerokuSendgrid
Returns a new instance of HerokuSendgrid.
7 8 9 10 11 |
# File 'lib/bently/recipe/heroku-sendgrid.rb', line 7 def initialize warn 'heroku commands may incur charges to your account'.upcase run 'heroku addons:add sendgrid:starter' create './config/initializers/mail.rb', template('mail.rb') end |