class Yoti::DocScan::Session::Retrieve::GeneratedCheckResponse
Attributes
id[R]
@return [String]
type[R]
@return [String]
Public Class Methods
new(check)
click to toggle source
@param [Hash] check
# File lib/yoti/doc_scan/session/retrieve/generated_check_response.rb, line 17 def initialize(check) Validation.assert_is_a(String, check['id'], 'id', true) @id = check['id'] Validation.assert_is_a(String, check['type'], 'type', true) @type = check['type'] end