Sha256: c0bbabfdef1a57fcaa4093e6c8f6ed57b3d2aab59c2e23eff741cdee9a7c9678

Contents?: true

Size: 150 Bytes

Versions: 5

Compression:

Stored size: 150 Bytes

Contents

module SimplePostmark
  class APIError < StandardError
    def initialize(response)
      super(response.parsed_response['Message'])
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_postmark-0.5.1 lib/simple_postmark/api_error.rb
simple_postmark-0.5.0 lib/simple_postmark/api_error.rb
simple_postmark-0.4.4 lib/simple_postmark/api_error.rb
simple_postmark-0.4.3 lib/simple_postmark/api_error.rb
simple_postmark-0.4.2 lib/simple_postmark/api_error.rb