Class: HttpEventStore::Actions::ReadAllStreamEventsBackward

Inherits:
ReadAllStreamEvents show all
Defined in:
lib/http_event_store/actions/read_all_stream_events_backward.rb

Instance Method Summary collapse

Methods inherited from ReadAllStreamEvents

#call

Constructor Details

#initialize(client, page_size) ⇒ ReadAllStreamEventsBackward

Returns a new instance of ReadAllStreamEventsBackward.


5
6
7
8
9
# File 'lib/http_event_store/actions/read_all_stream_events_backward.rb', line 5

def initialize(client, page_size)
  super(client)
  @start_point = :head
  @count = page_size
end