Class: Telesign::PhoneID::Response
- Inherits:
-
ApiResponse
- Object
- ApiResponse
- Telesign::PhoneID::Response
- Defined in:
- lib/telesign/phone_id/response.rb
Instance Attribute Summary collapse
-
#phone_type ⇒ Object
readonly
Returns the value of attribute phone_type.
Instance Method Summary collapse
Methods inherited from ApiResponse
#initialize, #raise_exceptions, response_method
Constructor Details
This class inherits a constructor from Telesign::ApiResponse
Instance Attribute Details
#phone_type ⇒ Object (readonly)
Returns the value of attribute phone_type.
24 25 26 |
# File 'lib/telesign/phone_id/response.rb', line 24 def phone_type @phone_type end |
Instance Method Details
#after_initialize ⇒ Object
26 27 28 |
# File 'lib/telesign/phone_id/response.rb', line 26 def after_initialize @phone_type = Telesign::PhoneType.type_for_code(@response.typeofPhone) end |