Class: Telesign::PhoneID::Request
- Inherits:
-
ApiRequest
- Object
- ApiRequest
- Telesign::PhoneID::Request
- Defined in:
- lib/telesign/phone_id/request.rb
Instance Attribute Summary collapse
-
#country_code ⇒ Object
(also: #countryCode)
Returns the value of attribute country_code.
-
#phone_number ⇒ Object
(also: #phoneNumber)
Returns the value of attribute phone_number.
Instance Method Summary collapse
-
#initialize(phone) ⇒ Request
constructor
A new instance of Request.
Methods inherited from ApiRequest
#call, #driver, request_method
Constructor Details
#initialize(phone) ⇒ Request
Returns a new instance of Request.
12 13 14 15 |
# File 'lib/telesign/phone_id/request.rb', line 12 def initialize(phone) self.country_code = phone.country_code self.phone_number = phone.number end |
Instance Attribute Details
#country_code ⇒ Object Also known as: countryCode
Returns the value of attribute country_code.
7 8 9 |
# File 'lib/telesign/phone_id/request.rb', line 7 def country_code @country_code end |
#phone_number ⇒ Object Also known as: phoneNumber
Returns the value of attribute phone_number.
7 8 9 |
# File 'lib/telesign/phone_id/request.rb', line 7 def phone_number @phone_number end |