Method: Wavefront::Validators#wf_usergroup_id?
- Defined in:
- lib/wavefront-sdk/validators.rb
#wf_usergroup_id?(gid) ⇒ Boolean
Ensure the given argument is a valid user group.
419 420 421 422 423 |
# File 'lib/wavefront-sdk/validators.rb', line 419 def wf_usergroup_id?(gid) return true if uuid?(gid) raise Wavefront::Exception::InvalidUserGroupId, gid end |