Sha256: d2ed94b18ff4a3324c5a7ecd6c7b7d843116a2ba4424536eccba17687bcef270
Contents?: true
Size: 609 Bytes
Versions: 12
Compression:
Stored size: 609 Bytes
Contents
module Vzaar module Request class Signature < Base endpoint "/api/videos/signature" authenticated true resource :signature private def url_params # JC: refactor it _params = {} if options[:success_action_redirect] _params[:success_action_redirect] = options[:success_action_redirect] end if options[:include_metadata] _params[:include_metadata] = 'yes' end if options[:flash_request] _params[:flash_request] = 'yes' end super.merge(_params) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems