Class: Sentry::Hub::Layer

Inherits:
Object
  • Object
show all
Defined in:
lib/sentry/hub.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, scope) ⇒ Layer

Returns a new instance of Layer.

[View source]

364
365
366
367
# File 'lib/sentry/hub.rb', line 364

def initialize(client, scope)
  @client = client
  @scope = scope
end

Instance Attribute Details

#clientObject

Returns the value of attribute client.


361
362
363
# File 'lib/sentry/hub.rb', line 361

def client
  @client
end

#scopeObject (readonly)

Returns the value of attribute scope.


362
363
364
# File 'lib/sentry/hub.rb', line 362

def scope
  @scope
end