Class: URI::Generic

Inherits:
Object show all
Defined in:
lib/savon/core_ext/uri.rb

Instance Method Summary collapse

Instance Method Details

#ssl?Boolean

Returns whether the URI hints to SSL.

Returns:

  • (Boolean)


5
6
7
# File 'lib/savon/core_ext/uri.rb', line 5

def ssl?
  !@scheme ? nil : @scheme.starts_with?("https")
end