Sha256: 216ef18e5a49828f7d55cfadf2b537ed28ea7f9a78f58971f1f6792c2ad0770e

Contents?: true

Size: 407 Bytes

Versions: 39

Compression:

Stored size: 407 Bytes

Contents

module Fog
  module Identity
    class OpenStack
      class V3
        class Real
          def grant_project_user_role(id, user_id, role_id)
            request(
              :expects => [204],
              :method  => 'PUT',
              :path    => "projects/#{id}/users/#{user_id}/roles/#{role_id}"
            )
          end
        end

        class Mock
        end
      end
    end
  end
end

Version data entries

39 entries across 37 versions & 3 rubygems

Version Path
fog-openstack-0.1.27 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-openstack-0.1.26/lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-openstack-0.1.26/lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-openstack-0.1.26/lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.26 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.25 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.24 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.23 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.22 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.21 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.20 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.19 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.18 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.17 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.15 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.14 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.13 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.12 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb
fog-openstack-0.1.11 lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb