Class: Stripe::V2::Billing::MeterEventStreamCreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/meter_event_stream_create_params.rb

Defined Under Namespace

Classes: Event

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(events: nil) ⇒ MeterEventStreamCreateParams

Returns a new instance of MeterEventStreamCreateParams.



35
36
37
# File 'lib/stripe/params/v2/billing/meter_event_stream_create_params.rb', line 35

def initialize(events: nil)
  @events = events
end

Instance Attribute Details

#eventsObject

List of meter events to include in the request. Supports up to 100 events per request.



33
34
35
# File 'lib/stripe/params/v2/billing/meter_event_stream_create_params.rb', line 33

def events
  @events
end