Exception: EndpointFlux::Exceptions::Unauthorized
- Defined in:
- lib/endpoint_flux/exceptions/unauthorized.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from EndpointFlux::Exceptions::Base
Instance Method Details
#to_hash ⇒ Object
4 5 6 7 8 9 |
# File 'lib/endpoint_flux/exceptions/unauthorized.rb', line 4 def to_hash { status: 401, message: 'Unauthorized' } end |