Method: HTTPalooza::Request#ssl?

Defined in:
lib/httpalooza/request.rb

#ssl?Boolean

Returns whether or not the URL is SSL.

Returns:

  • (Boolean)

    whether or not the URL is SSL



37
38
39
# File 'lib/httpalooza/request.rb', line 37

def ssl?
  !!(url.to_s =~ /^https/)
end