Flowdock
method

new

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: SSL
new(app, options = {}) 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/ssl.rb, line 9
    def initialize(app, options = {})
      @app = app

      @hsts = options.fetch(:hsts, {})
      @hsts = {} if @hsts == true
      @hsts = self.class.default_hsts_options.merge(@hsts) if @hsts

      @host    = options[:host]
      @port    = options[:port]
    end
Register or log in to add new notes.