Sha256: 0d39312468a840110f81295dd4d355faea9abd7ec400129fa8d5c8d647c60f52
Contents?: true
Size: 507 Bytes
Versions: 15
Compression:
Stored size: 507 Bytes
Contents
# frozen_string_literal: true module Zoom module Actions module Roles extend Zoom::Actions get 'roles_list', '/roles' post 'roles_create', '/roles', require: :name, permit: %i[description privileges] get 'roles_members', '/roles/:role_id/members' post 'roles_assign', '/roles/:role_id/members', require: :members delete 'roles_unassign', '/roles/:role_id/members/:member_id' get 'roles_get', '/roles/:role_id' end end end
Version data entries
15 entries across 15 versions & 1 rubygems