Class: ActionPubsub::Errors::SubscriptionReactionErrorMessage
- Inherits:
-
Object
- Object
- ActionPubsub::Errors::SubscriptionReactionErrorMessage
- Defined in:
- lib/action_pubsub/errors.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#message ⇒ Object
Returns the value of attribute message.
-
#subscriber_key ⇒ Object
Returns the value of attribute subscriber_key.
-
#target_exchange ⇒ Object
Returns the value of attribute target_exchange.
Instance Method Summary collapse
-
#initialize(*args, message:, error:, target_exchange: nil, subscriber_key: nil, **options) ⇒ SubscriptionReactionErrorMessage
constructor
A new instance of SubscriptionReactionErrorMessage.
Constructor Details
#initialize(*args, message:, error:, target_exchange: nil, subscriber_key: nil, **options) ⇒ SubscriptionReactionErrorMessage
Returns a new instance of SubscriptionReactionErrorMessage.
8 9 10 11 12 13 |
# File 'lib/action_pubsub/errors.rb', line 8 def initialize(*args, message:, error:, target_exchange:nil, subscriber_key:nil, **) = @error = error @target_exchange = target_exchange @subscriber_key = subscriber_key end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
6 7 8 |
# File 'lib/action_pubsub/errors.rb', line 6 def error @error end |
#message ⇒ Object
Returns the value of attribute message.
6 7 8 |
# File 'lib/action_pubsub/errors.rb', line 6 def end |
#subscriber_key ⇒ Object
Returns the value of attribute subscriber_key.
6 7 8 |
# File 'lib/action_pubsub/errors.rb', line 6 def subscriber_key @subscriber_key end |
#target_exchange ⇒ Object
Returns the value of attribute target_exchange.
6 7 8 |
# File 'lib/action_pubsub/errors.rb', line 6 def target_exchange @target_exchange end |