Class: EventStoreSubscriptions::SubscriptionSetup
- Inherits:
-
Struct
- Object
- Struct
- EventStoreSubscriptions::SubscriptionSetup
- Defined in:
- lib/event_store_subscriptions/subscription_setup.rb
Overview
Handles arguments that were used to create a subscription. We need to persist them for later adjustment and delegation.
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#blk ⇒ Object
Returns the value of attribute blk.
-
#kwargs ⇒ Object
Returns the value of attribute kwargs.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
6 7 8 |
# File 'lib/event_store_subscriptions/subscription_setup.rb', line 6 def args @args end |
#blk ⇒ Object
Returns the value of attribute blk
6 7 8 |
# File 'lib/event_store_subscriptions/subscription_setup.rb', line 6 def blk @blk end |
#kwargs ⇒ Object
Returns the value of attribute kwargs
6 7 8 |
# File 'lib/event_store_subscriptions/subscription_setup.rb', line 6 def kwargs @kwargs end |
Instance Method Details
#dup ⇒ EventStoreSubscriptions::SubscriptionSetup
8 9 10 |
# File 'lib/event_store_subscriptions/subscription_setup.rb', line 8 def dup self.class.new(args.dup, deep_dup(kwargs), blk) end |