Exception: Moneta::Api::HTTPException

Inherits:
Exception
  • Object
show all
Defined in:
lib/moneta/api/http_exception.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



8
9
10
# File 'lib/moneta/api/http_exception.rb', line 8

def inspect
  "HTTPException: #{ message }"
end

#to_hashObject



4
5
6
# File 'lib/moneta/api/http_exception.rb', line 4

def to_hash
  { message: message }
end