Class: DebugBundle::RemoteConfig::Snapshot
- Inherits:
-
Struct
- Object
- Struct
- DebugBundle::RemoteConfig::Snapshot
- Defined in:
- lib/debugbundle/remote_config.rb
Instance Attribute Summary collapse
-
#capture_policy ⇒ Object
Returns the value of attribute capture_policy.
-
#directives ⇒ Object
Returns the value of attribute directives.
-
#poll_interval_seconds ⇒ Object
Returns the value of attribute poll_interval_seconds.
-
#probes_enabled ⇒ Object
Returns the value of attribute probes_enabled.
-
#remote_probes_enabled ⇒ Object
Returns the value of attribute remote_probes_enabled.
-
#trigger_token_key ⇒ Object
Returns the value of attribute trigger_token_key.
Class Method Summary collapse
Instance Attribute Details
#capture_policy ⇒ Object
Returns the value of attribute capture_policy
44 45 46 |
# File 'lib/debugbundle/remote_config.rb', line 44 def capture_policy @capture_policy end |
#directives ⇒ Object
Returns the value of attribute directives
44 45 46 |
# File 'lib/debugbundle/remote_config.rb', line 44 def directives @directives end |
#poll_interval_seconds ⇒ Object
Returns the value of attribute poll_interval_seconds
44 45 46 |
# File 'lib/debugbundle/remote_config.rb', line 44 def poll_interval_seconds @poll_interval_seconds end |
#probes_enabled ⇒ Object
Returns the value of attribute probes_enabled
44 45 46 |
# File 'lib/debugbundle/remote_config.rb', line 44 def probes_enabled @probes_enabled end |
#remote_probes_enabled ⇒ Object
Returns the value of attribute remote_probes_enabled
44 45 46 |
# File 'lib/debugbundle/remote_config.rb', line 44 def remote_probes_enabled @remote_probes_enabled end |
#trigger_token_key ⇒ Object
Returns the value of attribute trigger_token_key
44 45 46 |
# File 'lib/debugbundle/remote_config.rb', line 44 def trigger_token_key @trigger_token_key end |
Class Method Details
.default ⇒ Object
53 54 55 56 57 58 59 60 61 62 |
# File 'lib/debugbundle/remote_config.rb', line 53 def self.default new( probes_enabled: true, remote_probes_enabled: false, directives: [], poll_interval_seconds: 60, capture_policy: RemoteConfig.balanced_capture_policy, trigger_token_key: nil ) end |