Class: HTTP::URI
- Inherits:
-
Addressable::URI
- Object
- Addressable::URI
- HTTP::URI
- Defined in:
- lib/http/uri.rb
Constant Summary collapse
- HTTP_SCHEME =
HTTP scheme
"http".freeze
- HTTPS_SCHEME =
HTTPS scheme
"https".freeze
Instance Method Summary collapse
Instance Method Details
#https? ⇒ True, False
19 20 21 |
# File 'lib/http/uri.rb', line 19 def https? HTTPS_SCHEME == scheme end |