Class: Skylight::Subscriber::Notification Private

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

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.



34
35
36
# File 'lib/skylight/subscriber.rb', line 34

def initialize(name, span)
  @name, @span = name, 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.



32
33
34
# File 'lib/skylight/subscriber.rb', line 32

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.



32
33
34
# File 'lib/skylight/subscriber.rb', line 32

def span
  @span
end