Class: Yoti::DocScan::Session::Retrieve::GeneratedCheckResponse
- Inherits:
-
Object
- Object
- Yoti::DocScan::Session::Retrieve::GeneratedCheckResponse
show all
- Defined in:
- lib/yoti/doc_scan/session/retrieve/generated_check_response.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of GeneratedCheckResponse.
17
18
19
20
21
22
23
|
# 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
|
Instance Attribute Details
#id ⇒ String
9
10
11
|
# File 'lib/yoti/doc_scan/session/retrieve/generated_check_response.rb', line 9
def id
@id
end
|
#type ⇒ String
12
13
14
|
# File 'lib/yoti/doc_scan/session/retrieve/generated_check_response.rb', line 12
def type
@type
end
|