Sha256: a49596db0aef2158c4e3e2e92b5e506c261f6d3d6970d653012e826dd948cc41

Contents?: true

Size: 205 Bytes

Versions: 4

Compression:

Stored size: 205 Bytes

Contents

module Moneta
  module Api
    class HTTPException < Exception
      def to_hash
        { message: message }
      end

      def inspect
        "HTTPException: #{ message }"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
moneta-api-2.1.0 lib/moneta/api/http_exception.rb
moneta-api-2.0.0 lib/moneta/api/http_exception.rb
moneta-api-2.0.0.rc2 lib/moneta/api/http_exception.rb
moneta-api-2.0.0.rc1 lib/moneta/api/http_exception.rb