class Mio::Model::Extract

Public Instance Methods

config_hash() click to toggle source
# File lib/mio/model/extract.rb, line 24
def config_hash
  {"extract-metadata": false,
    "extract-frames": { "approve-frames": @args.autoApproveFrames,
                        "set-master-frame": @args.masterFrame,
                        "set-frames-on-parent-asset": @args.setFramesOfParentAsset,
                        "fixed-number": @args.numberOfKeyFramesToExtract}
  }
end
create_hash() click to toggle source
# File lib/mio/model/extract.rb, line 15
def create_hash
  plugin = 'tv.nativ.mio.enterprise.execution.action.file.impl.extract.DefaultExtractCommand'

  {name: @args.name,
   pluginClass: plugin,
   type: 'extract',
   visibilityIds: @args.visibility}
end