| 1 | # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file. | ||
| 2 | package Twilio::Rest::Pricing::V1; | ||
| 3 | |||
| 4 | 3 | ▶ | use 5.016; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 3 | ▶ | use parent 'Twilio::Version'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 3 | our $VERSION = '2.001'; | |
| 10 | |||
| 11 | 8 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 12 | 8 | my ($class, $domain) = @_; | |
| 13 | 8 | my $self = $class->SUPER::new($domain); | |
| 14 | 8 | $self->{version} = 'v1'; | |
| 15 | 8 | return $self; | |
| 16 | } | ||
| 17 | |||
| 18 | # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client. | ||
| 19 | 3 | ▶ | sub messaging { |
|
Subroutine
messaging: called CC=1 SCAR=0.0
Pod
documented
| |||
| 20 | 3 | my ($self) = @_; | |
| 21 | 3 | require Twilio::Rest::Pricing::V1::Messaging; | |
| 22 | 3 | return Twilio::Rest::Pricing::V1::MessagingContext->new($self); | |
| 23 | } | ||
| 24 | |||
| 25 | 2 | ▶ | sub phone_numbers { |
|
Subroutine
phone_numbers: called CC=1 SCAR=0.0
Pod
documented
| |||
| 26 | 2 | my ($self) = @_; | |
| 27 | 2 | require Twilio::Rest::Pricing::V1::PhoneNumber; | |
| 28 | 2 | return Twilio::Rest::Pricing::V1::PhoneNumberList->new($self); | |
| 29 | } | ||
| 30 | |||
| 31 | 3 | ▶ | sub voice { |
|
Subroutine
voice: called CC=1 SCAR=0.0
Pod
documented
| |||
| 32 | 3 | my ($self) = @_; | |
| 33 | 3 | require Twilio::Rest::Pricing::V1::Voice; | |
| 34 | 3 | return Twilio::Rest::Pricing::V1::VoiceContext->new($self); | |
| 35 | } | ||
| 36 | |||
| 37 | 3 | 1; | |
| 38 | |||
| 39 | __END__ | ||