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.



411
412
413
414
# File 'lib/sentry/hub.rb', line 411

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

Instance Attribute Details

#client ⇒ Object

Returns the value of attribute client.



408
409
410
# File 'lib/sentry/hub.rb', line 408

def client
  @client
end

#scope ⇒ Object (readonly)

Returns the value of attribute scope.



409
410
411
# File 'lib/sentry/hub.rb', line 409

def scope
  @scope
end