com.twilio.sdk.resource.factory
Interface SmsFactory

All Known Implementing Classes:
SmsList

public interface SmsFactory

A factory for creating Sms objects.


Method Summary
 Sms create(List<org.apache.http.NameValuePair> params)
          Creates the sms.
 Sms create(Map<String,String> params)
          Creates the sms.
 

Method Detail

create

Sms create(Map<String,String> params)
           throws TwilioRestException
Creates the sms.

Parameters:
params - the params map
Returns:
the sms
Throws:
TwilioRestException

create

Sms create(List<org.apache.http.NameValuePair> params)
           throws TwilioRestException
Creates the sms.

Parameters:
params - the params list
Returns:
the sms
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.