Skip to content

Commit

Permalink
smsresponse can be init with array of verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
twof committed Feb 15, 2019
1 parent e67ea89 commit ffbd614
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/Twilio/TWIML/SMSResponse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 """
Expand Down

0 comments on commit ffbd614

Please sign in to comment.