Class: Stripe::V2::Billing::MeterEventStreamService::CreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/billing/meter_event_stream_service.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) ⇒ CreateParams

Returns a new instance of CreateParams.



36
37
38
# File 'lib/stripe/services/v2/billing/meter_event_stream_service.rb', line 36

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

Instance Attribute Details

#eventsObject

List of meter events to include in the request.



34
35
36
# File 'lib/stripe/services/v2/billing/meter_event_stream_service.rb', line 34

def events
  @events
end