Class: Stripe::V2::Core::EventListParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::EventListParams
- Defined in:
- lib/stripe/params/v2/core/event_list_params.rb
Instance Attribute Summary collapse
-
#limit ⇒ Object
The page size.
-
#object_id_ ⇒ Object
Primary object ID used to retrieve related events.
Instance Method Summary collapse
-
#initialize(limit: nil, object_id_: nil) ⇒ EventListParams
constructor
A new instance of EventListParams.
Methods inherited from RequestParams
Constructor Details
#initialize(limit: nil, object_id_: nil) ⇒ EventListParams
Returns a new instance of EventListParams.
15 16 17 18 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 15 def initialize(limit: nil, object_id_: nil) @limit = limit @object_id_ = object_id_ end |
Instance Attribute Details
#limit ⇒ Object
The page size.
9 10 11 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 9 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.
13 14 15 |
# File 'lib/stripe/params/v2/core/event_list_params.rb', line 13 def object_id_ @object_id_ end |