Method: Wavefront::Validators#wf_spansamplingpolicy_id?
- Defined in:
- lib/wavefront-sdk/validators.rb
#wf_spansamplingpolicy_id?(id) ⇒ Boolean
Ensure the given argument is a valid Wavefront Span Sampling Policy ID. So far as I can tell they’re just strings.
675 676 677 678 679 |
# File 'lib/wavefront-sdk/validators.rb', line 675 def wf_spansamplingpolicy_id?(id) return true if id.is_a?(String) raise Wavefront::Exception::InvalidSpanSamplingPolicyId, id end |