Class: Stripe::V1BillingMeterErrorReportTriggeredEvent
- Inherits:
-
Stripe::V2::Event
- Object
- StripeObject
- APIResource
- Stripe::V2::Event
- Stripe::V1BillingMeterErrorReportTriggeredEvent
- Defined in:
- lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb
Overview
This event occurs when there are invalid async usage events for a given meter.
Constant Summary
Constants inherited from Stripe::V2::Event
Stripe::V2::Event::OBJECT_NAME
Constants inherited from APIResource
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary
Attributes inherited from APIResource
Attributes inherited from StripeObject
Class Method Summary collapse
Instance Method Summary collapse
-
#fetch_related_object ⇒ Object
Retrieves the related object from the API.
Methods inherited from Stripe::V2::Event
Methods inherited from APIResource
class_name, custom_method, object_name, #refresh, #request_stripe_object, resource_url, #resource_url, retrieve, save_nested_resource
Methods included from APIOperations::Request
Methods inherited from StripeObject
#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Class Method Details
.lookup_type ⇒ Object
7 8 9 |
# File 'lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb', line 7 def self.lookup_type "v1.billing.meter.error_report_triggered" end |
Instance Method Details
#fetch_related_object ⇒ Object
Retrieves the related object from the API. Make an API request on every call.
14 15 16 17 18 19 20 21 |
# File 'lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb', line 14 def _request( method: :get, path: .url, base_address: :api, opts: { stripe_account: context } ) end |