Class: UrlSigner::Signer
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from UrlSigner::Base
Instance Method Details
#sign ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/url_signer/signer.rb', line 6 def sign raise "this URL is already signed !" if signed? # build new url signed_url = url.dup signed_url.query = extended_query signed_url end |