Exception: Apill::Errors::InvalidSubdomain
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Apill::Errors::InvalidSubdomain
- Includes:
- HumanError::Error
- Defined in:
- lib/apill/errors/invalid_subdomain.rb
Instance Attribute Summary collapse
-
#http_host ⇒ Object
Returns the value of attribute http_host.
Instance Method Summary collapse
Instance Attribute Details
#http_host ⇒ Object
Returns the value of attribute http_host.
8 9 10 |
# File 'lib/apill/errors/invalid_subdomain.rb', line 8 def http_host @http_host end |
Instance Method Details
#detail ⇒ Object
18 19 20 21 |
# File 'lib/apill/errors/invalid_subdomain.rb', line 18 def detail 'The resource you attempted to access is either not authorized for the ' \ 'authenticated user or does not exist.' end |
#http_status ⇒ Object
10 11 12 |
# File 'lib/apill/errors/invalid_subdomain.rb', line 10 def http_status 404 end |
#source ⇒ Object
23 24 25 |
# File 'lib/apill/errors/invalid_subdomain.rb', line 23 def source { http_host: http_host } end |
#title ⇒ Object
14 15 16 |
# File 'lib/apill/errors/invalid_subdomain.rb', line 14 def title 'Invalid Subdomain' end |