lib/rest-ftp-daemon/api/jobs.rb in rest-ftp-daemon-1.0.4 vs lib/rest-ftp-daemon/api/jobs.rb in rest-ftp-daemon-1.0.5
- old
+ new
@@ -115,12 +115,14 @@
optional :audio_bitrate, type: String, desc: "nominal audio bitrate"
optional :audio_sample_rate, type: Integer, desc: "audio sampling rate"
optional :audio_channels, type: String, desc: "number of audio channels"
end
- optional :video_custom, type: Hash, desc: "video: custom options passed to FFMPEG encoder", default: {} do
- optional :option1, type: String, desc: "sample option", default: "my_value"
- end
+ optional :video_custom, type: Hash, desc: "video: custom options passed to FFMPEG encoder", default: {},
+ documentation: { hidden: false }
+ # do
+ # optional :option1, type: String, desc: "sample option", default: "my_value"
+ # end
optional :options, type: Hash, desc: "Options for transfers" do
optional :overwrite,
type: Boolean,
desc: "Overwrites files at target server",
\ No newline at end of file