Class: Skylight::Core::Subscriber::Notification Private
- Inherits:
-
Object
- Object
- Skylight::Core::Subscriber::Notification
- Defined in:
- lib/skylight/core/subscriber.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
ActiveSupport::Notifications API
Instance Attribute Summary collapse
- #name ⇒ Object readonly private
- #span ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(name, span) ⇒ Notification
constructor
private
A new instance of Notification.
Constructor Details
#initialize(name, span) ⇒ Notification
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 Notification.
35 36 37 38 |
# File 'lib/skylight/core/subscriber.rb', line 35 def initialize(name, span) @name = name @span = span end |
Instance Attribute Details
#name ⇒ Object (readonly)
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.
33 34 35 |
# File 'lib/skylight/core/subscriber.rb', line 33 def name @name end |
#span ⇒ Object (readonly)
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.
33 34 35 |
# File 'lib/skylight/core/subscriber.rb', line 33 def span @span end |