com.twilio.sdk.resource.factory.taskrouter
Interface WorkflowFactory

All Known Implementing Classes:
WorkflowList

public interface WorkflowFactory

A factory for creating Workflows.


Method Summary
 Workflow create(List<org.apache.http.NameValuePair> params)
          Creates a Workflow.
 Workflow create(Map<String,String> params)
          Creates a Workflow.
 

Method Detail

create

Workflow create(Map<String,String> params)
                throws TwilioRestException
Creates a Workflow.

Parameters:
params - the params list
Returns:
a Workflow
Throws:
TwilioRestException

create

Workflow create(List<org.apache.http.NameValuePair> params)
                throws TwilioRestException
Creates a Workflow.

Parameters:
params - the params list
Returns:
a Workflow
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.