Class: Stripe::V2::Core::EventService::ListParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/event_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(limit: nil, object_id_: nil) ⇒ ListParams

Returns a new instance of ListParams.



16
17
18
19
# File 'lib/stripe/services/v2/core/event_service.rb', line 16

def initialize(limit: nil, object_id_: nil)
  @limit = limit
  @object_id_ = object_id_
end

Instance Attribute Details

#limitObject

The page size.



10
11
12
# File 'lib/stripe/services/v2/core/event_service.rb', line 10

def limit
  @limit
end

#object_id_Object

Primary object ID used to retrieve related events.

To avoid conflict with Ruby’s ‘:object_id’, this attribute has been renamed. If using a hash parameter map instead, please use the original name ‘:object_id’ with NO trailing underscore as the provided param key.



14
15
16
# File 'lib/stripe/services/v2/core/event_service.rb', line 14

def object_id_
  @object_id_
end