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.



376
377
378
379
# File 'lib/sentry/hub.rb', line 376

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

Instance Attribute Details

#clientObject

Returns the value of attribute client.



373
374
375
# File 'lib/sentry/hub.rb', line 373

def client
  @client
end

#scopeObject (readonly)

Returns the value of attribute scope.



374
375
376
# File 'lib/sentry/hub.rb', line 374

def scope
  @scope
end