lib/punchblock/component/output.rb in punchblock-1.6.0 vs lib/punchblock/component/output.rb in punchblock-1.6.1

- old
+ new

@@ -96,11 +96,11 @@ ## # @param [Integer] other Indicates some offset through which the output should be skipped before rendering begins. # def start_offset=(other) - write_attr :'start-offset', other.to_i + write_attr :'start-offset', other, :to_i end ## # @return [true, false] Indicates wether or not the component should be started in a paused state to be resumed at a later time. # @@ -110,11 +110,11 @@ ## # @param [true, false] other Indicates wether or not the component should be started in a paused state to be resumed at a later time. # def start_paused=(other) - write_attr :'start-paused', other.to_s + write_attr :'start-paused', other, :to_s end ## # @return [Integer] Indicates the duration of silence that should space repeats of the rendered document. # @@ -124,11 +124,11 @@ ## # @param [Integer] other Indicates the duration of silence that should space repeats of the rendered document. # def repeat_interval=(other) - write_attr :'repeat-interval', other.to_i + write_attr :'repeat-interval', other, :to_i end ## # @return [Integer] Indicates the number of times the output should be played. # @@ -138,11 +138,11 @@ ## # @param [Integer] other Indicates the number of times the output should be played. # def repeat_times=(other) - write_attr :'repeat-times', other.to_i + write_attr :'repeat-times', other, :to_i end ## # @return [Integer] Indicates the maximum amount of time for which the output should be allowed to run before being terminated. Includes repeats. # @@ -152,10 +152,10 @@ ## # @param [Integer] other Indicates the maximum amount of time for which the output should be allowed to run before being terminated. Includes repeats. # def max_time=(other) - write_attr :'max-time', other.to_i + write_attr :'max-time', other, :to_i end def inspect_attributes super + [:voice, :ssml, :interrupt_on, :start_offset, :start_paused, :repeat_interval, :repeat_times, :max_time] end