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
permalink #initialize(client, scope) ⇒ Layer
Returns a new instance of Layer.
364 365 366 367 |
# File 'lib/sentry/hub.rb', line 364 def initialize(client, scope) @client = client @scope = scope end |
Instance Attribute Details
permalink #client ⇒ Object
Returns the value of attribute client.
361 362 363 |
# File 'lib/sentry/hub.rb', line 361 def client @client end |
permalink #scope ⇒ Object (readonly)
Returns the value of attribute scope.
362 363 364 |
# File 'lib/sentry/hub.rb', line 362 def scope @scope end |