| 1 | # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file. | ||
| 2 | package Twilio::Rest::PreviewIam::V1; | ||
| 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::Version'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 2 | our $VERSION = '2.001'; | |
| 10 | |||
| 11 | 2 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 12 | 2 | my ($class, $domain) = @_; | |
| 13 | 2 | my $self = $class->SUPER::new($domain); | |
| 14 | 2 | $self->{version} = 'v1'; | |
| 15 | 2 | return $self; | |
| 16 | } | ||
| 17 | |||
| 18 | # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client. | ||
| 19 | 1 | ▶ | sub authorize { |
|
Subroutine
authorize: called CC=1 SCAR=0.0
Pod
documented
| |||
| 20 | 1 | my ($self) = @_; | |
| 21 | 1 | require Twilio::Rest::PreviewIam::V1::Authorize; | |
| 22 | 1 | return Twilio::Rest::PreviewIam::V1::AuthorizeList->new($self); | |
| 23 | } | ||
| 24 | |||
| 25 | 1 | ▶ | sub token { |
|
Subroutine
token: called CC=1 SCAR=0.0
Pod
documented
| |||
| 26 | 1 | my ($self) = @_; | |
| 27 | 1 | require Twilio::Rest::PreviewIam::V1::Token; | |
| 28 | 1 | return Twilio::Rest::PreviewIam::V1::TokenList->new($self); | |
| 29 | } | ||
| 30 | |||
| 31 | 2 | 1; | |
| 32 | |||
| 33 | __END__ | ||