From ffbd614c0310c93fddd2f70e57215960297e0ee6 Mon Sep 17 00:00:00 2001 From: twof Date: Fri, 15 Feb 2019 10:30:44 -0800 Subject: [PATCH] smsresponse can be init with array of verbs --- Sources/Twilio/TWIML/SMSResponse.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/Twilio/TWIML/SMSResponse.swift b/Sources/Twilio/TWIML/SMSResponse.swift index 2a1e091..8572e39 100644 --- a/Sources/Twilio/TWIML/SMSResponse.swift +++ b/Sources/Twilio/TWIML/SMSResponse.swift @@ -28,6 +28,10 @@ public struct SMSResponse: TwimlGenerator { public init(_ verbs: Verb...) { self.verbs = verbs } + + public init(_ verbs: [Verb]) { + self.verbs = verbs + } public func generateTwiml() -> String { return """