lib/bitmovin/encoding/stream_output.rb in bitmovin-ruby-0.4.0 vs lib/bitmovin/encoding/stream_output.rb in bitmovin-ruby-0.5.0

- old
+ new

@@ -34,9 +34,10 @@ json_name = ActiveSupport::Inflector.camelize(name.to_s, false) val[json_name] = instance_variable_get("@#{name}") end val end + def validate! @errors << "output_id cannot be blank" if @output_id.blank? @errors << "output_path cannot be blank" if @output_path.blank? end end