Class: Sinch::Builder::Request::Verification
- Defined in:
- lib/sinch/builder/request/verification.rb
Overview
Verification Request Builder
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Sinch::Builder::Request::Base
Instance Method Details
#build ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/sinch/builder/request/verification.rb', line 8 def build { identity: { type: 'number', endpoint: phone_number }, method: 'sms' } end |