Class: Mindee::Product::ProofOfAddress::ProofOfAddressV1Page
- Inherits:
-
Mindee::Parsing::Common::Page
- Object
- Mindee::Parsing::Common::Page
- Mindee::Product::ProofOfAddress::ProofOfAddressV1Page
- Defined in:
- lib/mindee/product/proof_of_address/proof_of_address_v1_page.rb
Overview
Proof of Address API version 1.1 page data.
Instance Attribute Summary
Attributes inherited from Mindee::Parsing::Common::Page
#extras, #orientation, #page_id, #prediction
Instance Method Summary collapse
-
#initialize(prediction) ⇒ ProofOfAddressV1Page
constructor
A new instance of ProofOfAddressV1Page.
Methods inherited from Mindee::Parsing::Common::Page
Constructor Details
#initialize(prediction) ⇒ ProofOfAddressV1Page
Returns a new instance of ProofOfAddressV1Page.
12 13 14 15 16 17 18 |
# File 'lib/mindee/product/proof_of_address/proof_of_address_v1_page.rb', line 12 def initialize(prediction) super(prediction) @prediction = ProofOfAddressV1PagePrediction.new( prediction['prediction'], prediction['id'] ) end |