Class: SpreeCmCommissioner::Media::SignedUrlGenerator
- Defined in:
- app/interactors/spree_cm_commissioner/media/signed_url_generator.rb
Instance Method Summary collapse
-
#call ⇒ Object
s3_object_key: medias/dash/cohesion/cohesion.mpd.
- #sign ⇒ Object
Methods inherited from Signer
#distribution_domain, #expiration_time, #key_pair_id, #private_key, #signer, #url
Instance Method Details
#call ⇒ Object
s3_object_key: medias/dash/cohesion/cohesion.mpd
7 8 9 |
# File 'app/interactors/spree_cm_commissioner/media/signed_url_generator.rb', line 7 def call sign end |
#sign ⇒ Object
11 12 13 |
# File 'app/interactors/spree_cm_commissioner/media/signed_url_generator.rb', line 11 def sign context.result = signer.signed_url(url, expires: expiration_time) end |