Class: Sentry::Hub::Layer

Inherits:
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.



145
146
147
148
# File 'lib/sentry/hub.rb', line 145

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

Instance Attribute Details

#clientObject

Returns the value of attribute client.



142
143
144
# File 'lib/sentry/hub.rb', line 142

def client
  @client
end

#scopeObject (readonly)

Returns the value of attribute scope.



143
144
145
# File 'lib/sentry/hub.rb', line 143

def scope
  @scope
end