Exception: SimplePostmark::APIError
- Inherits:
-
StandardError
- Object
- StandardError
- SimplePostmark::APIError
- Defined in:
- lib/simple_postmark/api_error.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(response) ⇒ APIError
Returns a new instance of APIError.
3 4 5 |
# File 'lib/simple_postmark/api_error.rb', line 3 def initialize(response) super(response.parsed_response['Message']) end |