Class: Skylight::Subscriber::Notification Private
- Defined in:
- lib/skylight/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.
34 35 36 |
# File 'lib/skylight/subscriber.rb', line 34 def initialize(name, span) @name, @span = name, 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.
32 33 34 |
# File 'lib/skylight/subscriber.rb', line 32 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.
32 33 34 |
# File 'lib/skylight/subscriber.rb', line 32 def span @span end |