ssnikolay/moneta-api

View on GitHub
lib/moneta/api/http_exception.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Moneta
  module Api
    class HTTPException < Exception
      def to_hash
        { message: message }
      end

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