| 1 | # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file. | ||
| 2 | package Twilio::TwiML::Messaging::Redirect; | ||
| 3 | |||
| 4 | 2 | ▶ | use 5.016; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 2 | ▶ | use parent 'Twilio::TwiML::TwiML'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 2 | our $VERSION = '2.001'; | |
| 10 | |||
| 11 | 2 | my %ATTRIBUTES = ('method' => { name => 'method' },); | |
| 12 | |||
| 13 | 4 | ▶ | sub attribute_table { return \%ATTRIBUTES } |
|
Subroutine
attribute_table: called CC=1 SCAR=0.0
Pod
documented
| |||
| 14 | |||
| 15 | 4 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 16 | 4 | my ($class, $url, $attributes) = @_; | |
| 17 | 4 | return $class->SUPER::new('Redirect', $url, $attributes); | |
| 18 | } | ||
| 19 | |||
| 20 | 1 | ▶ | sub set_method { |
|
Subroutine
set_method: called CC=1 SCAR=0.0
Pod
documented
| |||
| 21 | 1 | my ($self, $value) = @_; | |
| 22 | 1 | return $self->set_attribute('method', $value); | |
| 23 | } | ||
| 24 | |||
| 25 | 2 | 1; | |
| 26 | |||
| 27 | __END__ | ||