lib/backchat_client/channel.rb
##
# Delete a channel in Backchat
#
# ==== Parameters
# * *uri* valid channel URI
# * *force* true|false if channel should be deleted even if being used by a stream
# ==== Return
# * true if channel was deleted, false if there was an error
Delete a channel in Backchat
Parameters
*uri* valid channel URI
*force* true|false if channel should be deleted even if being used by a stream
Return
true if channel was deleted, false if there was an error
Delete a channel in Backchat Parameters * uri * valid channel URI * force * true|false if channel should be deleted even if being used by a stream Return true if channel was deleted false if there was an error
def destroy(uri, force = false)
      begin
        delete("", {:channel => uri, :force => force})
        true
      rescue Error::ClientError => ex
        logger.error ex.errors
        false
      end
    end
def destroy ( uri , force = false ) begin delete ( "" , { :channel => uri , :force => force } ) true rescue Error :: ClientError => ex logger . error ex . errors false end end
Delete a channel in Backchat
 Parameters
 *uri* valid channel URI
 *force* true|false if channel should be deleted even if being used by a stream
 Return
 true if channel was deleted, false if there was an error
Delete a channel in Backchat Parameters * uri * valid channel URI * force * true|false if channel should be deleted even if being used by a stream Return true if channel was deleted false if there was an error
uri
<not_specific>
force
<not_specific>