class Drillbit::Errors::InvalidSubdomain

Attributes

http_host[RW]

Public Instance Methods

detail() click to toggle source
# 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() click to toggle source
# File lib/drillbit/errors/invalid_subdomain.rb, line 12
def http_status
  404
end
source() click to toggle source
# File lib/drillbit/errors/invalid_subdomain.rb, line 24
def source
  { http_host: http_host }
end
title() click to toggle source
# File lib/drillbit/errors/invalid_subdomain.rb, line 16
def title
  'Invalid Subdomain'
end