class Apiphobic::Errors::InvalidSubdomain
Attributes
http_host[RW]
Public Instance Methods
detail()
click to toggle source
# File lib/apiphobic/errors/invalid_subdomain.rb, line 20 def detail <<~HEREDOC.chomp.tr("\n", ' ') The subdomain you attempted to access is not valid. Please try again. HEREDOC end
http_status()
click to toggle source
# File lib/apiphobic/errors/invalid_subdomain.rb, line 12 def http_status 404 end
source()
click to toggle source
# File lib/apiphobic/errors/invalid_subdomain.rb, line 26 def source { 'http_host' => http_host, } end
title()
click to toggle source
# File lib/apiphobic/errors/invalid_subdomain.rb, line 16 def title 'Invalid Subdomain' end