method

new

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: HostAuthorization
new(app, hosts, exclude: nil, response_app: nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/host_authorization.rb, line 125
    def initialize(app, hosts, exclude: nil, response_app: nil)
      @app = app
      @permissions = Permissions.new(hosts)
      @exclude = exclude

      @response_app = response_app || DefaultResponseApp.new
    end
Register or log in to add new notes.