class Sinch::Builder::Request::Verification
Public Instance Methods
build()
click to toggle source
# File lib/sinch/builder/request/verification.rb, line 8 def build { identity: { type: 'number', endpoint: phone_number }, method: 'sms' } end
Private Instance Methods
phone_number()
click to toggle source
# File lib/sinch/builder/request/verification.rb, line 20 def phone_number params[:phone_number] end