Class: Telesign::PhoneVerification::Request
- Inherits:
-
ApiRequest
- Object
- ApiRequest
- Telesign::PhoneVerification::Request
- Defined in:
- lib/telesign/phone_verification/request.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#additional ⇒ Object
Returns the value of attribute additional.
-
#call_type ⇒ Object
(also: #callType)
Returns the value of attribute call_type.
-
#caller_id ⇒ Object
(also: #callerID)
Returns the value of attribute caller_id.
-
#country_code ⇒ Object
(also: #countryCode)
Returns the value of attribute country_code.
-
#delay_time ⇒ Object
(also: #delayTime)
Returns the value of attribute delay_time.
-
#extension_content ⇒ Object
(also: #extensionContent)
Returns the value of attribute extension_content.
-
#extension_type ⇒ Object
(also: #extensionType)
Returns the value of attribute extension_type.
-
#message ⇒ Object
Returns the value of attribute message.
-
#phone_number ⇒ Object
(also: #phoneNumber)
Returns the value of attribute phone_number.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#project ⇒ Object
Returns the value of attribute project.
-
#radial_count ⇒ Object
(also: #redialCount)
Returns the value of attribute radial_count.
-
#verification_code ⇒ Object
(also: #verificationCode)
Returns the value of attribute verification_code.
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.
19 20 21 22 |
# File 'lib/telesign/phone_verification/request.rb', line 19 def initialize(phone) self.phone_number = phone.number self.country_code = phone.country_code end |
Instance Attribute Details
#additional ⇒ Object
Returns the value of attribute additional.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def additional @additional end |
#call_type ⇒ Object Also known as: callType
Returns the value of attribute call_type.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def call_type @call_type end |
#caller_id ⇒ Object Also known as: callerID
Returns the value of attribute caller_id.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def caller_id @caller_id end |
#country_code ⇒ Object Also known as: countryCode
Returns the value of attribute country_code.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def country_code @country_code end |
#delay_time ⇒ Object Also known as: delayTime
Returns the value of attribute delay_time.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def delay_time @delay_time end |
#extension_content ⇒ Object Also known as: extensionContent
Returns the value of attribute extension_content.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def extension_content @extension_content end |
#extension_type ⇒ Object Also known as: extensionType
Returns the value of attribute extension_type.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def extension_type @extension_type end |
#message ⇒ Object
Returns the value of attribute message.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def @message end |
#phone_number ⇒ Object Also known as: phoneNumber
Returns the value of attribute phone_number.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def phone_number @phone_number end |
#priority ⇒ Object
Returns the value of attribute priority.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def priority @priority end |
#project ⇒ Object
Returns the value of attribute project.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def project @project end |
#radial_count ⇒ Object Also known as: redialCount
Returns the value of attribute radial_count.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def radial_count @radial_count end |
#verification_code ⇒ Object Also known as: verificationCode
Returns the value of attribute verification_code.
5 6 7 |
# File 'lib/telesign/phone_verification/request.rb', line 5 def verification_code @verification_code end |