class Mindee::Product::FR::EnergyBill::EnergyBillV1Page

Energy Bill API version 1.2 page data.

def initialize(prediction)

Parameters:
  • prediction (Hash) --
def initialize(prediction)
  super
  @prediction = if prediction['prediction'].empty?
                  nil
                else
                  EnergyBillV1PagePrediction.new(
                    prediction['prediction'],
                    prediction['id']
                  )
                end
end