How to judge whether SSL has been applied?

How to judge whether or not the SSL has been applied on the server IIS
with ruby on rails?