Sha256: eec1b4847951830e91aa2483512354d197e57387f12fa034be6e0d0e34403a81
Contents?: true
Size: 689 Bytes
Versions: 9
Compression:
Stored size: 689 Bytes
Contents
# encoding: utf-8 module Punchblock module Command class Hangup < CommandNode register :hangup, :core include HasHeaders ## # Create an Rayo hangup message # # @param [Hash] options # @option options [Array[Header], Hash, Optional] :headers SIP headers to attach to # the call. Can be either a hash of key-value pairs, or an array of # Header objects. # # @return [Command::Hangup] a formatted Rayo redirect command # def self.new(options = {}) super().tap do |new_node| new_node.headers = options[:headers] end end end # Hangup end # Command end # Punchblock
Version data entries
9 entries across 9 versions & 1 rubygems