Class: Sinch::Response::Verification
- Defined in:
- lib/sinch/response/verification.rb
Overview
Sinch API Response For Verification Request
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Instance Method Details
#json ⇒ Object
7 8 9 10 11 12 |
# 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 |