Exception: Omnes::Subscriber::Adapter::Method::PrivateMethodSubscriptionAttemptError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Omnes::Subscriber::Adapter::Method::PrivateMethodSubscriptionAttemptError
- Defined in:
- lib/omnes/subscriber/adapter/method/errors.rb
Overview
Raised when trying to subscribe to a private method
Instance Attribute Summary collapse
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
Instance Method Summary collapse
-
#initialize(method_name:) ⇒ PrivateMethodSubscriptionAttemptError
constructor
private
A new instance of PrivateMethodSubscriptionAttemptError.
Constructor Details
#initialize(method_name:) ⇒ PrivateMethodSubscriptionAttemptError
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 PrivateMethodSubscriptionAttemptError.
34 35 36 37 |
# File 'lib/omnes/subscriber/adapter/method/errors.rb', line 34 def initialize(method_name:) @method_name = method_name super() end |
Instance Attribute Details
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name.
31 32 33 |
# File 'lib/omnes/subscriber/adapter/method/errors.rb', line 31 def method_name @method_name end |