Class: Stripe::V2::Core::EventService::ListParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::EventService::ListParams
- Defined in:
- lib/stripe/services/v2/core/event_service.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) ⇒ ListParams
constructor
A new instance of ListParams.
Methods inherited from RequestParams
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
#limit ⇒ Object
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 |