Class: URI::Generic
- Inherits:
-
Object
- Object
- URI::Generic
- Defined in:
- lib/url_signer/uri.rb
Instance Method Summary collapse
-
#signature_valid?(*options) ⇒ Boolean
Checks the validity of the current
URI
signature. -
#signed(*options) ⇒ Object
Return a signed version of the
URI
.
Instance Method Details
#signature_valid?(*options) ⇒ Boolean
Checks the validity of the current URI
signature.
signed_url = URI.parse('http://google.fr').signed
signed_url.signature_valid? # => true
for options
see UrlSigner#verify.
23 24 25 |
# File 'lib/url_signer/uri.rb', line 23 def signature_valid?(*) UrlSigner.valid?(self, *) end |