Class: Sentry::Hub::Layer
- Inherits:
-
Object
- Object
- Sentry::Hub::Layer
- Defined in:
- lib/sentry/hub.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Instance Method Summary collapse
-
#initialize(client, scope) ⇒ Layer
constructor
A new instance of Layer.
Constructor Details
#initialize(client, scope) ⇒ Layer
Returns a new instance of Layer.
330 331 332 333 |
# File 'lib/sentry/hub.rb', line 330 def initialize(client, scope) @client = client @scope = scope end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
327 328 329 |
# File 'lib/sentry/hub.rb', line 327 def client @client end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
328 329 330 |
# File 'lib/sentry/hub.rb', line 328 def scope @scope end |