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

Version Path
zoom_rb-1.1.11 lib/zoom/actions/roles.rb
zoom_rb-1.1.10 lib/zoom/actions/roles.rb
zoom_rb-1.1.9 lib/zoom/actions/roles.rb
zoom_rb-1.1.8 lib/zoom/actions/roles.rb
zoom_rb-1.1.7 lib/zoom/actions/roles.rb
zoom_rb-1.1.6 lib/zoom/actions/roles.rb
zoom_rb-1.1.5 lib/zoom/actions/roles.rb
zoom_rb-1.1.4 lib/zoom/actions/roles.rb
zoom_rb-1.1.3 lib/zoom/actions/roles.rb
zoom_rb-1.1.2 lib/zoom/actions/roles.rb
zoom_rb-1.1.1 lib/zoom/actions/roles.rb
zoom_rb-1.1.0 lib/zoom/actions/roles.rb
zoom_rb-1.0.2 lib/zoom/actions/roles.rb
zoom_rb-1.0.1 lib/zoom/actions/roles.rb
zoom_rb-1.0.0 lib/zoom/actions/roles.rb