Class: PersonaApi::VerificationsResource
- Defined in:
- lib/persona_api/resources/verifications.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
#delete_request, #get_request, #handle_response, #initialize, #patch_request, #post_request, #put_request
Constructor Details
This class inherits a constructor from PersonaApi::Resource
Instance Method Details
#print(ver_id:) ⇒ Object
3 4 5 |
# File 'lib/persona_api/resources/verifications.rb', line 3 def print(ver_id:) get_request("verifications/#{ver_id}/print") end |
#retrieve(ver_id:) ⇒ Object
7 8 9 |
# File 'lib/persona_api/resources/verifications.rb', line 7 def retrieve(ver_id:) Verification.new get_request("verifications/#{ver_id}").body.dig("data") end |