module

Marten::Handlers::XFrameOptions::ClassMethods

Instance methods

exempt_from_x_frame_options(exempt : Bool) : Nil

Allows to define whether or not the handler responses should be exempted from using X-Frame-Options.

Note that this method is only useful when the Marten::Middleware::XFrameOptions is being used.

Source
exempt_from_x_frame_options?

Returns a boolean indicating if the handler is exempted from using X-Frame-Options.

Source