def redirect(*args)
      redirect_to_url = ''
      options = {}
      args.each do |arg|
        case arg
        when String
          redirect_to_url = arg
        when Hash
          options.merge!(arg)
        else
          raise ArgumentError, 'dial expects String or Hash argument'
        end
      end

      output { @xml.Redirect(redirect_to_url, options) }
    end
def redirect(*args)
      redirect_to_url = ''
      options = {}
      args.each do |arg|
        case arg
        when String
          redirect_to_url = arg
        when Hash
          options.merge!(arg)
        else
          raise ArgumentError, 'dial expects String or Hash argument'
        end
      end

      output { @xml.Redirect(redirect_to_url, options) }
    end
The Redirect (secondary) verb transfers control to a different URL.
 It is normally chained with other verbs.

 Options (see http://www.twilio.com/docs/api_reference/TwiML/redirect) are passed in as a hash

 Examples:
   verb = Twilio::Verb.new { |v|
     v.dial '415-123-4567'
     v.redirect 'http://www.foo.com/nextInstructions'
   }
   verb.response