Class: Phaxio::Resources::PhoneNumber::Reference
- Inherits:
-
Object
- Object
- Phaxio::Resources::PhoneNumber::Reference
- Defined in:
- lib/phaxio/resources/phone_number.rb
Overview
A reference to a phone number, returned by some actions.
Instance Attribute Summary collapse
-
#phone_number ⇒ String
The phone number in E.164 format.
Instance Method Summary collapse
-
#get ⇒ Phaxio::Resources::PhoneNumber
(also: #retrieve, #find)
Gets the referenced phone number.
- #to_s ⇒ Object
Instance Attribute Details
#phone_number ⇒ String
Returns The phone number in E.164 format.
40 41 42 |
# File 'lib/phaxio/resources/phone_number.rb', line 40 def phone_number @phone_number end |
Instance Method Details
#get ⇒ Phaxio::Resources::PhoneNumber Also known as: retrieve, find
Gets the referenced phone number.
49 50 51 |
# File 'lib/phaxio/resources/phone_number.rb', line 49 def get PhoneNumber.get self end |
#to_s ⇒ Object
42 43 44 |
# File 'lib/phaxio/resources/phone_number.rb', line 42 def to_s phone_number end |