lib/punchblock/component/output.rb in punchblock-1.6.1 vs lib/punchblock/component/output.rb in punchblock-1.7.0
- old
+ new
@@ -155,11 +155,25 @@
#
def max_time=(other)
write_attr :'max-time', other, :to_i
end
+ ##
+ # @return [String] the rendering engine requested by the component
+ #
+ def renderer
+ read_attr :renderer
+ end
+
+ ##
+ # @param [String] the rendering engine to use with this component
+ #
+ def renderer=(renderer)
+ write_attr :renderer, renderer
+ end
+
def inspect_attributes
- super + [:voice, :ssml, :interrupt_on, :start_offset, :start_paused, :repeat_interval, :repeat_times, :max_time]
+ super + [:voice, :ssml, :interrupt_on, :start_offset, :start_paused, :repeat_interval, :repeat_times, :max_time, :renderer]
end
state_machine :state do
event :paused do
transition :executing => :paused