Class: DebugBundle::RemoteConfig::Snapshot

Inherits:
Struct
  • Object
show all
Defined in:
lib/debugbundle/remote_config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capture_policyObject

Returns the value of attribute capture_policy

Returns:

  • (Object)

    the current value of capture_policy



44
45
46
# File 'lib/debugbundle/remote_config.rb', line 44

def capture_policy
  @capture_policy
end

#directivesObject

Returns the value of attribute directives

Returns:

  • (Object)

    the current value of directives



44
45
46
# File 'lib/debugbundle/remote_config.rb', line 44

def directives
  @directives
end

#poll_interval_secondsObject

Returns the value of attribute poll_interval_seconds

Returns:

  • (Object)

    the current value of poll_interval_seconds



44
45
46
# File 'lib/debugbundle/remote_config.rb', line 44

def poll_interval_seconds
  @poll_interval_seconds
end

#probes_enabledObject

Returns the value of attribute probes_enabled

Returns:

  • (Object)

    the current value of probes_enabled



44
45
46
# File 'lib/debugbundle/remote_config.rb', line 44

def probes_enabled
  @probes_enabled
end

#remote_probes_enabledObject

Returns the value of attribute remote_probes_enabled

Returns:

  • (Object)

    the current value of remote_probes_enabled



44
45
46
# File 'lib/debugbundle/remote_config.rb', line 44

def remote_probes_enabled
  @remote_probes_enabled
end

#trigger_token_keyObject

Returns the value of attribute trigger_token_key

Returns:

  • (Object)

    the current value of 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

.defaultObject



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