Sha256: eb0f7837620689b9f616133f45bd8b5359a7792d2f8c2ca8274d78a8680545a6
Contents?: true
Size: 832 Bytes
Versions: 1
Compression:
Stored size: 832 Bytes
Contents
# frozen_string_literal: true require_relative 'requestable_record' module Jumio module Entities class ScanStatus < RequestableRecord # A separate entity to hold the "scan status request" # # https://github.com/Jumio/implementation-guides/blob/master/netverify/netverify-retrieval-api.md#retrieving-scan-status # # Since this endpoint returns _only_ a status value and the "scan details" # does not return this same status at all, we have a separate entity for # each, so as to not have one shared entity with all attributes optional. # # Although the Jumio docs describe this as "required", we have seen scans # come back without one. attribute :status, Types::Strict::String.meta(omittable: true) # Possible states: PENDING, DONE, FAILED end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jumio-1.0.0 | lib/jumio/entities/scan_status.rb |