Class: Skylight::Core::Subscriber::Notification Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#nameObject (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

#spanObject (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