class Sinch::Response::Verification
Sinch
API Response
For Verification
Request
Public Instance Methods
json()
click to toggle source
# File lib/sinch/response/verification.rb, line 7 def json return {} unless success? response_hash = response.parsed_response response_hash.merge('request_id' => response_hash['id']) end