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.



323
324
325
326
# File 'lib/sentry/hub.rb', line 323

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

Instance Attribute Details

#clientObject

Returns the value of attribute client.



320
321
322
# File 'lib/sentry/hub.rb', line 320

def client
  @client
end

#scopeObject (readonly)

Returns the value of attribute scope.



321
322
323
# File 'lib/sentry/hub.rb', line 321

def scope
  @scope
end