Exception: Omnes::Subscriber::Adapter::Method::UnknownMethodSubscriptionAttemptError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Omnes::Subscriber::Adapter::Method::UnknownMethodSubscriptionAttemptError
- Defined in:
- lib/omnes/subscriber/adapter/method/errors.rb
Overview
Raised when trying to subscribe to a missing method
Instance Attribute Summary collapse
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
Instance Method Summary collapse
-
#initialize(method_name:) ⇒ UnknownMethodSubscriptionAttemptError
constructor
private
A new instance of UnknownMethodSubscriptionAttemptError.
Constructor Details
#initialize(method_name:) ⇒ UnknownMethodSubscriptionAttemptError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of UnknownMethodSubscriptionAttemptError.
14 15 16 17 |
# File 'lib/omnes/subscriber/adapter/method/errors.rb', line 14 def initialize(method_name:) @method_name = method_name super() end |
Instance Attribute Details
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name.
11 12 13 |
# File 'lib/omnes/subscriber/adapter/method/errors.rb', line 11 def method_name @method_name end |