Sha256: 964c923a954057b9f3be8777857a4ed4b90a0c841ee6d49cfbdb975c14057f50

Contents?: true

Size: 308 Bytes

Versions: 28

Compression:

Stored size: 308 Bytes

Contents

module SecureHeaders
  module Padrino
    class << self
      ##
      # Main class that register this extension.
      #
      def registered(app)
        app.extend SecureHeaders::ClassMethods
        app.helpers SecureHeaders::InstanceMethods
      end
      alias :included :registered
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
secure_headers-2.5.3 lib/secure_headers/padrino.rb
secure_headers-2.5.2 lib/secure_headers/padrino.rb
secure_headers-2.5.1 lib/secure_headers/padrino.rb
secure_headers-2.5.0 lib/secure_headers/padrino.rb
secure_headers-2.4.4 lib/secure_headers/padrino.rb
secure_headers-2.4.3 lib/secure_headers/padrino.rb
secure_headers-2.4.2 lib/secure_headers/padrino.rb
secure_headers-2.4.1 lib/secure_headers/padrino.rb
secure_headers-2.4.0 lib/secure_headers/padrino.rb
secure_headers-2.3.0 lib/secure_headers/padrino.rb
secure_headers-2.2.4 lib/secure_headers/padrino.rb
secure_headers-2.2.3 lib/secure_headers/padrino.rb
secure_headers-2.2.2 lib/secure_headers/padrino.rb
secure_headers-2.2.1 lib/secure_headers/padrino.rb
secure_headers-2.2.0 lib/secure_headers/padrino.rb
secure_headers-2.1.0 lib/secure_headers/padrino.rb
secure_headers-2.0.2 lib/secure_headers/padrino.rb
secure_headers-2.0.1 lib/secure_headers/padrino.rb
secure_headers-2.0.0 lib/secure_headers/padrino.rb
secure_headers-1.4.1 lib/secure_headers/padrino.rb