lib/tropo-webapi-ruby/tropo-webapi-ruby.rb
##
# that can turn off all logging on the Tropo platform
#
# @overload generalLogSecurity(params)
#   @param [Hash] params the options to create a message with.
#   @option params [required, String] :state Set to "suppress" to disable all logging in Tropo. Set to "none" to turn off log suppression and begin logging again.
# @overload generalLogSecurity(params, &block)
#   @param [Hash] params the options to create a message with.
#   @param [Block] takes a block so that you may trigger actions, such as a say, on a specific event
#   @option params [required, String] :state Set to "suppress" to disable all logging in Tropo. Set to "none" to turn off log suppression and begin logging again.
# @return [String, nil] the JSON string to be passed back to Tropo or nil
#   if the method has been called from inside a block
that can turn off all logging on the Tropo platform
that can turn off all logging on the Tropo platform
def generalLogSecurity(params={}, &block)
      if block_given?
        create_nested_hash('generalLogSecurity', params)
        instance_exec(&block)
        @response[:tropo] << @nested_hash
      else
        hash = build_action('generalLogSecurity', params)
        @response[:tropo] << hash
      end
      render_response if @building.nil?
    end
def generalLogSecurity ( params = { } , & block ) if block_given? create_nested_hash ( 'generalLogSecurity' , params ) instance_exec ( & block ) @response [ :tropo ] << @nested_hash else hash = build_action ( 'generalLogSecurity' , params ) @response [ :tropo ] << hash end render_response if @building . nil? end
that can turn off all logging on the Tropo platform
that can turn off all logging on the Tropo platform
the JSON string to be passed back to Tropo or nil if the method has been called from inside a block
the JSON string to be passed back to Tropo or nil if the method has been called from inside a block
String, nil
params
block
overload
generalLogSecurity(params) @param [Hash] params the options to create a message with. @option params [required, String] :state Set to "suppress" to disable all logging in Tropo. Set to "none" to turn off log suppression and begin logging again.
generalLogSecurity ( params ) @param [ Hash ] params the options to create a message with . @option params [ required String ] : state Set to " suppress " to disable all logging in Tropo . Set to " none " to turn off log suppression and begin logging again .
overload
generalLogSecurity(params, █) @param [Hash] params the options to create a message with. @param [Block] takes a block so that you may trigger actions, such as a say, on a specific event @option params [required, String] :state Set to "suppress" to disable all logging in Tropo. Set to "none" to turn off log suppression and begin logging again.
generalLogSecurity ( params █ ) @param [ Hash ] params the options to create a message with . @param [ Block ] takes a block so that you may trigger actions such as a say on a specific event @option params [ required String ] : state Set to " suppress " to disable all logging in Tropo . Set to " none " to turn off log suppression and begin logging again .