Method: EndpointFlux::Exceptions::Forbidden#to_hash

Defined in:
lib/endpoint_flux/exceptions/forbidden.rb

#to_hashObject



4
5
6
7
8
9
# File 'lib/endpoint_flux/exceptions/forbidden.rb', line 4

def to_hash
  {
    status: 403,
    message: 'Forbidden'
  }
end