Class: Upkeep::Dependencies::RequestValue
- Defined in:
- lib/upkeep/dependencies.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ RequestValue
constructor
A new instance of RequestValue.
Methods inherited from Identity
#identity?, #identity_key, #precision, #visibility
Methods inherited from Base
#cache_key, #identity?, #identity_key, #matches_change?, #narrow_frame_safe?, #precision, #to_h, #visibility
Constructor Details
#initialize(key:, value:) ⇒ RequestValue
Returns a new instance of RequestValue.
313 314 315 316 317 318 319 320 |
# File 'lib/upkeep/dependencies.rb', line 313 def initialize(key:, value:) super( source: :request, key: key.to_s, value: Dependencies.private_fingerprint(value), metadata: { key: key.to_s, value_class: value.class.name } ) end |