class Apiphobic::Responses::InvalidSubdomain

Public Class Methods

call(env) click to toggle source
Calls superclass method Apiphobic::Responses::Invalid::call
# File lib/apiphobic/responses/invalid_subdomain.rb, line 9
def self.call(env)
  error ||= Errors::InvalidSubdomain.new(
              http_host: env['HTTP_HOST'],
            )

  super(env, error: error)
end