# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe # This event occurs when there are invalid async usage events for a given meter. class V1BillingMeterErrorReportTriggeredEvent < Stripe::V2::Event def self.lookup_type "v1.billing.meter.error_report_triggered" end # There is additional data present for this event, accessible with the `data` property. # See the Stripe API docs for more information. # Retrieves the related object from the API. Make an API request on every call. def fetch_related_object _request( method: :get, path: related_object.url, base_address: :api, opts: { stripe_account: context } ) end end end