method

https?

rails latest stable - Class: ActionController::Integration::Session

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

https?()
public

Return true if the session is mimicking a secure HTTPS request.

  if session.https?
    ...
  end