Exception: Postmark::InvalidTemplateError
- Defined in:
- lib/postmark/error.rb
Instance Attribute Summary collapse
-
#postmark_response ⇒ Object
readonly
Returns the value of attribute postmark_response.
Instance Method Summary collapse
-
#initialize(response) ⇒ InvalidTemplateError
constructor
A new instance of InvalidTemplateError.
Constructor Details
#initialize(response) ⇒ InvalidTemplateError
Returns a new instance of InvalidTemplateError.
112 113 114 115 |
# File 'lib/postmark/error.rb', line 112 def initialize(response) @postmark_response = response super('Failed to render the template. Please check #postmark_response on this error for details.') end |
Instance Attribute Details
#postmark_response ⇒ Object (readonly)
Returns the value of attribute postmark_response.
110 111 112 |
# File 'lib/postmark/error.rb', line 110 def postmark_response @postmark_response end |