Method: Wavefront::Validators#wf_role_id?
- Defined in:
- lib/wavefront-sdk/validators.rb
#wf_role_id?(id) ⇒ Boolean
Ensure the given argument is a valid Wavefront role ID
637 638 639 640 641 |
# File 'lib/wavefront-sdk/validators.rb', line 637 def wf_role_id?(id) return true if uuid?(id) raise Wavefront::Exception::InvalidRoleId, id end |