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

        class Mock
        end
      end
    end
  end
end
