Method: Idnow::IdentificationProcess#initialize
- Defined in:
- lib/idnow/models/identification_process.rb
#initialize(data) ⇒ IdentificationProcess
Returns a new instance of IdentificationProcess.
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/idnow/models/identification_process.rb', line 10 def initialize(data) @result = data['result'] @reason = data['reason'] @company_id = data['companyid'] @filename = data['filename'] @agentname = data['agentname'] @identification_time = data['identificationtime'] @id = data['id'] @href = data['href'] @type = data['type'] @transaction_number = data['transactionnumber'] end |