Sha256: 9cedde1da07e9e58bd916056da16cdc2285fc93b6e7fe2b19c0c74021499bafb

Contents?: true

Size: 622 Bytes

Versions: 14

Compression:

Stored size: 622 Bytes

Contents

module Fog
  module Identity
    class OpenStack
      class V2
        class Real
          def remove_user_from_tenant(tenant_id, user_id, role_id)
            request(
              :expects => [200, 204],
              :method  => 'DELETE',
              :path    => "/tenants/#{tenant_id}/users/#{user_id}/roles/OS-KSADM/#{role_id}"
            )
          end
        end # class Real

        class Mock
          def remove_user_from_tenant(tenant_id, user_id, role_id)
          end # def remove_user_from_tenant
        end # class Mock
      end # class V2
    end # class OpenStack
  end # module Identity
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-openstack-0.1.25 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.24 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.23 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.22 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.21 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.20 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.19 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.18 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.17 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.15 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.14 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.13 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.12 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb
fog-openstack-0.1.11 lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb