public class CredentialUpdater extends Updater<Credential>
Constructor and Description |
---|
CredentialUpdater(String accountSid,
String credentialListSid,
String sid,
String username,
String password)
Construct a new CredentialUpdater.
|
Modifier and Type | Method and Description |
---|---|
Credential |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
public CredentialUpdater(String accountSid, String credentialListSid, String sid, String username, String password)
accountSid
- The account_sidcredentialListSid
- The credential_list_sidsid
- The sidusername
- The usernamepassword
- The passwordpublic Credential execute(TwilioRestClient client)
execute
in class Updater<Credential>
client
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.