Class: AddressFinder::V1::Phone::Verification
- Defined in:
- lib/addressfinder/v1/phone/verification.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(phone_number:, default_country_code:, http:, **args) ⇒ Verification
constructor
A new instance of Verification.
Methods inherited from Base
Constructor Details
#initialize(phone_number:, default_country_code:, http:, **args) ⇒ Verification
Returns a new instance of Verification.
9 10 11 12 |
# File 'lib/addressfinder/v1/phone/verification.rb', line 9 def initialize(phone_number:, default_country_code:, http:, **args) params = {phone_number: phone_number, default_country_code: default_country_code}.merge(args) super(params: params, path: "/api/phone/v1/verification", http: http) end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
7 8 9 |
# File 'lib/addressfinder/v1/phone/verification.rb', line 7 def result @result end |