Sha256: 1633953082ae38833fafae91863d66b4e39174f9a2c1e9fdfbbc197dbdf9f96f

Contents?: true

Size: 239 Bytes

Versions: 1

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

class Roda
  module RodaPlugins
    module Ssl
      def self.configure(app)
        require "rack/ssl-enforcer"
        app.use ::Rack::SslEnforcer
      end
    end
    register_plugin(:ssl, Ssl)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
punk-0.4.1 lib/punk/plugins/ssl.rb