NAME
Twilio::Base::PhoneNumberCapabilities - What a phone number can do
SYNOPSIS
say 'It can send SMS' if $number->capabilities->sms;
DESCRIPTION
The value of the capabilities field of a phone number.
METHODS
new
my $capabilities = Twilio::Base::PhoneNumberCapabilities->new(\%capabilities);
Takes the hash reference from Twilio, whatever the case of its keys.
fax
mms
sms
voice
Return 1 when the number has the capability, and 0 when it does not or when Twilio did not say.
capabilities
my @names = Twilio::Base::PhoneNumberCapabilities->capabilities;
Returns the names of the capabilities.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.