class Mindee::Product::InternationalId::InternationalIdV2Page

International ID API version 2.1 page data.

def initialize(prediction)

Parameters:
  • prediction (Hash) --
def initialize(prediction)
  super(prediction)
  @prediction = InternationalIdV2PagePrediction.new(
    prediction['prediction'],
    prediction['id']
  )
end