Class: EventStoreClient::CatchUpSubscription
- Inherits:
-
Object
- Object
- EventStoreClient::CatchUpSubscription
- Defined in:
- lib/event_store_client/catch_up_subscription.rb
Instance Attribute Summary collapse
-
#filter ⇒ Object
readonly
Returns the value of attribute filter.
-
#position ⇒ Object
Returns the value of attribute position.
-
#subscriber ⇒ Object
readonly
Returns the value of attribute subscriber.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#filter ⇒ Object (readonly)
Returns the value of attribute filter.
5 6 7 |
# File 'lib/event_store_client/catch_up_subscription.rb', line 5 def filter @filter end |
#position ⇒ Object
Returns the value of attribute position.
6 7 8 |
# File 'lib/event_store_client/catch_up_subscription.rb', line 6 def position @position end |
#subscriber ⇒ Object (readonly)
Returns the value of attribute subscriber.
5 6 7 |
# File 'lib/event_store_client/catch_up_subscription.rb', line 5 def subscriber @subscriber end |
Class Method Details
.name(subscriber) ⇒ Object
25 26 27 |
# File 'lib/event_store_client/catch_up_subscription.rb', line 25 def self.name(subscriber) subscriber.class.to_s end |
Instance Method Details
#name ⇒ Object
21 22 23 |
# File 'lib/event_store_client/catch_up_subscription.rb', line 21 def name self.class.name(subscriber) end |
#options ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/event_store_client/catch_up_subscription.rb', line 8 def { filter: @filter, without_system_events: @without_system_events, all: { position: { commit_position: position[:commit_position], prepare_position: position[:prepare_position] } } }.compact end |