Exception: Drillbit::Errors::InvalidSubdomain
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Drillbit::Errors::InvalidSubdomain
- Includes:
- Erratum::Error
- Defined in:
- lib/drillbit/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.
10 11 12 |
# File 'lib/drillbit/errors/invalid_subdomain.rb', line 10 def http_host @http_host end |
Instance Method Details
#detail ⇒ Object
20 21 22 |
# File 'lib/drillbit/errors/invalid_subdomain.rb', line 20 def detail 'The subdomain you attempted to access is not valid. Please try again.' end |
#http_status ⇒ Object
12 13 14 |
# File 'lib/drillbit/errors/invalid_subdomain.rb', line 12 def http_status 404 end |
#source ⇒ Object
24 25 26 |
# File 'lib/drillbit/errors/invalid_subdomain.rb', line 24 def source { http_host: http_host } end |
#title ⇒ Object
16 17 18 |
# File 'lib/drillbit/errors/invalid_subdomain.rb', line 16 def title 'Invalid Subdomain' end |