Method: Unit::Event::ListEventParams#initialize
- Defined in:
- lib/unit/models/event/list_event_params.rb
#initialize(limit = EVENT_LIST_LIMIT, offset = EVENT_LIST_OFFSET, type = nil, since = nil, _until = nil) ⇒ ListEventParams
Returns a new instance of ListEventParams.
15 16 17 18 19 20 21 |
# File 'lib/unit/models/event/list_event_params.rb', line 15 def initialize(limit = EVENT_LIST_LIMIT, offset = EVENT_LIST_OFFSET, type = nil, since = nil, _until = nil) @limit = limit @offset = offset @type = type @since = since @_until = _until end |