Method: Courier::Config#get_template
- Defined in:
- lib/courier/config.rb
#get_template(key) ⇒ Object
44 45 46 |
# File 'lib/courier/config.rb', line 44 def get_template key templates_hash[key.to_sym] or raise "No such template '#{key}'. Specify it by Courier.init in ./config/initializers/courier.rb" end |